From 4071719ae76a05265aafc46638880c29578f7553 Mon Sep 17 00:00:00 2001 From: Howard Trickey Date: Tue, 5 Aug 2014 07:52:34 -0400 Subject: Fix to commit rB77b7e1fe9ab: need ${target} instead of blender in cmake macro. --- build_files/cmake/macros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_files') 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() -- cgit v1.2.3