mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
link platform appropriate dl libraries on UNIX for civetweb
This commit is contained in:
parent
b2f7115aef
commit
a238fb959f
1 changed files with 6 additions and 1 deletions
|
@ -25,4 +25,9 @@ add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||||
|
|
||||||
# link the shared hifi library
|
# link the shared hifi library
|
||||||
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
||||||
link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
||||||
|
|
||||||
|
# link dl library on UNIX for civetweb
|
||||||
|
if (UNIX AND NOT APPLE)
|
||||||
|
target_link_libraries(${TARGET_NAME} ${CMAKE_DL_LIBS})
|
||||||
|
endif (UNIX AND NOT APPLE)
|
Loading…
Reference in a new issue