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:
authorHoward Trickey <howard.trickey@gmail.com>2014-08-05 15:52:34 +0400
committerHoward Trickey <howard.trickey@gmail.com>2014-08-05 15:55:25 +0400
commit4071719ae76a05265aafc46638880c29578f7553 (patch)
tree8f252aa46e6ba422f6ac0e3ffb213fec65cad464 /build_files/cmake/macros.cmake
parenta192facd8c5449ffe55b7978fe85a0080703411b (diff)
Fix to commit rB77b7e1fe9ab: need ${target} instead of blender in cmake macro.
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r--build_files/cmake/macros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 9f7779e1958..adbba817150 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -414,8 +414,8 @@ macro(setup_liblinks
# We put CLEW and CUEW here because OPENSUBDIV_LIBRARIES dpeends on them..
if(WITH_CYCLES OR WITH_COMPOSITOR OR WITH_OPENSUBDIV)
- target_link_libraries(blender "extern_clew")
- target_link_libraries(blender "extern_cuew")
+ target_link_libraries(${target} "extern_clew")
+ target_link_libraries(${target} "extern_cuew")
endif()
endmacro()