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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-09 19:47:17 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-09 19:47:17 +0300
commit595251f74f215f5a7e4e86c644655a2df04b978f (patch)
tree42cad1bf3fe3219ef08956daf4a83724450cbf84
parent5280017554f9dcdbae9cf3c96ff5875b085ea027 (diff)
Fix cl_query to be installed to the right directory on macOS.benchmark
-rw-r--r--extern/clew/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
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()