Merge branch 'master' of https://git.epicsparrow.com/epicsparrow/CMakeTemplate
This commit is contained in:
commit
4b89b75eb9
@ -367,8 +367,12 @@ include_directories(
|
|||||||
${EXTRA_INCLUDES}
|
${EXTRA_INCLUDES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
|
# -ldl seems to be required for linux executables
|
||||||
|
LIST(APPEND LIB_DEPENDENCIES_LIST dl)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(LIB_SRC_LIST)
|
if(LIB_SRC_LIST)
|
||||||
# please do not add -ldl here for all systems without any explanation
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${LIBRARY_NAME}
|
${LIBRARY_NAME}
|
||||||
${LIB_DEPENDENCIES_LIST}
|
${LIB_DEPENDENCIES_LIST}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user