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 /build_files
parent499bec2a85f892f170ab46c97a0f268ee5acdc0a (diff)
use CMAKE_DL_LIBS rather then linking libdl directly.
added to cycles standalone too.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index ace1ed912be..e392666ea96 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -387,7 +387,7 @@ macro(setup_liblinks
target_link_libraries(${target} ${PTHREADS_LIBRARIES})
endif()
- target_link_libraries(${target} ${PLATFORM_LINKLIBS})
+ target_link_libraries(${target} ${PLATFORM_LINKLIBS} ${CMAKE_DL_LIBS})
endmacro()
macro(TEST_SSE_SUPPORT