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
path: root/CMake
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2008-08-25 19:33:18 +0400
committerChris Want <cwant@ualberta.ca>2008-08-25 19:33:18 +0400
commite3961717beb379af4abcd67e3b8360a1ef47655e (patch)
tree5dbed97fdbc9037b99c7fa8b68af356d3db51dd1 /CMake
parent10bcba77b11f1e9c8ae017f7d9c088f48fe86bd0 (diff)
Patch #17517 from Enrico Fracasso (thanks!)
Explicitly setting CMake policy CMP003 to obey the CMake 2.6 way of dealing with how to find libraries when the full path isn't known. See: http://www.cmake.org/HTML/cmake-2.6.html#policy:CMP0003
Diffstat (limited to 'CMake')
-rw-r--r--CMake/macros.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMake/macros.cmake b/CMake/macros.cmake
index 6b6837d25f0..e3dd46eb5ea 100644
--- a/CMake/macros.cmake
+++ b/CMake/macros.cmake
@@ -38,6 +38,8 @@ MACRO(BLENDERLIB
ENDMACRO(BLENDERLIB)
MACRO(SETUP_LIBDIRS)
+ # see "cmake --help-policy CMP0003"
+ CMAKE_POLICY(SET CMP0003 NEW)
LINK_DIRECTORIES(${PYTHON_LIBPATH} ${SDL_LIBPATH} ${JPEG_LIBPATH} ${PNG_LIBPATH} ${ZLIB_LIBPATH} ${ICONV_LIBPATH} ${OPENEXR_LIBPATH} ${QUICKTIME_LIBPATH} ${FFMPEG_LIBPATH})
IF(WITH_INTERNATIONAL)
LINK_DIRECTORIES(${GETTEXT_LIBPATH})