mirror of
https://github.com/nemtrif/utfcpp.git
synced 2025-04-05 05:25:07 +00:00
Guard add_library
This commit is contained in:
parent
f23474118c
commit
c8ea3b6ac3
1 changed files with 3 additions and 1 deletions
|
@ -3,4 +3,6 @@
|
|||
include("${CMAKE_CURRENT_LIST_DIR}/utf8cppTargets.cmake")
|
||||
check_required_components( "utf8cpp" )
|
||||
|
||||
add_library(utf8::cpp ALIAS utf8cpp)
|
||||
if(NOT TARGET utf8::cpp)
|
||||
add_library(utf8::cpp ALIAS utf8cpp)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue