Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-31 00:26:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-31 00:26:57 +0400
commit427317d8d84345637738d4e4ed60cfd55f1bb595 (patch)
tree7e4dcebff3688d9da68b37e23a3b79db3d83173c /intern/cycles/app/CMakeLists.txt
parent499bec2a85f892f170ab46c97a0f268ee5acdc0a (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.txt2
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)