Compare commits
2 Commits
07070dd2d4
...
06d7148408
Author | SHA1 | Date | |
---|---|---|---|
06d7148408 | |||
33875cb58b |
4
external/toxcore/CMakeLists.txt
vendored
4
external/toxcore/CMakeLists.txt
vendored
@ -12,7 +12,11 @@ add_subdirectory(./c-toxcore)
|
|||||||
# the sad case
|
# the sad case
|
||||||
add_library(toxcore INTERFACE)
|
add_library(toxcore INTERFACE)
|
||||||
|
|
||||||
|
if (TARGET toxcore_static)
|
||||||
target_link_libraries(toxcore INTERFACE toxcore_static)
|
target_link_libraries(toxcore INTERFACE toxcore_static)
|
||||||
|
else()
|
||||||
|
target_link_libraries(toxcore INTERFACE toxcore_shared)
|
||||||
|
endif()
|
||||||
|
|
||||||
# HACK: "install" api headers into binary dir
|
# HACK: "install" api headers into binary dir
|
||||||
configure_file(
|
configure_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user