mirror of
https://github.com/nemtrif/utfcpp.git
synced 2025-04-04 13:05:06 +00:00
Guard add_library
This commit is contained in:
parent
f23474118c
commit
18026b8ebc
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