[Bf-blender-cvs] [595251f74f2] temp-benchmark: Fix cl_query to be installed to the right directory on macOS.

Brecht Van Lommel noreply at git.blender.org
Thu Aug 9 18:47:50 CEST 2018


Commit: 595251f74f215f5a7e4e86c644655a2df04b978f
Author: Brecht Van Lommel
Date:   Thu Aug 9 18:47:17 2018 +0200
Branches: temp-benchmark
https://developer.blender.org/rB595251f74f215f5a7e4e86c644655a2df04b978f

Fix cl_query to be installed to the right directory on macOS.

===================================================================

M	extern/clew/CMakeLists.txt

===================================================================

diff --git a/extern/clew/CMakeLists.txt b/extern/clew/CMakeLists.txt
index 0ab3a357d9e..ed60ee578f2 100644
--- a/extern/clew/CMakeLists.txt
+++ b/extern/clew/CMakeLists.txt
@@ -43,4 +43,9 @@ blender_add_lib(extern_clew "${SRC}" "${INC}" "${INC_SYS}")
 
 add_executable(cl_query src/cl_query.cc)
 target_link_libraries(cl_query extern_clew ${CMAKE_DL_LIBS})
-install(TARGETS cl_query DESTINATION "bin")
+
+if(APPLE)
+	install(TARGETS cl_query DESTINATION "blender-benchmark.app/Contents/Resources/bin")
+else()
+	install(TARGETS cl_query DESTINATION "bin")
+endif()



More information about the Bf-blender-cvs mailing list