diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-31 00:26:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-31 00:26:57 +0400 |
commit | 427317d8d84345637738d4e4ed60cfd55f1bb595 (patch) | |
tree | 7e4dcebff3688d9da68b37e23a3b79db3d83173c /intern/cycles/app/CMakeLists.txt | |
parent | 499bec2a85f892f170ab46c97a0f268ee5acdc0a (diff) |
use CMAKE_DL_LIBS rather then linking libdl directly.
added to cycles standalone too.
Diffstat (limited to 'intern/cycles/app/CMakeLists.txt')
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index ded00f61b36..d5446ed1d48 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -45,7 +45,7 @@ if(WITH_CYCLES_STANDALONE) cycles_xml.h ) add_executable(cycles ${SRC}) - target_link_libraries(cycles ${LIBRARIES}) + target_link_libraries(cycles ${LIBRARIES} ${CMAKE_DL_LIBS}) if(UNIX AND NOT APPLE) set_target_properties(cycles PROPERTIES INSTALL_RPATH $ORIGIN/lib) |