diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-09 19:47:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-09 19:47:17 +0300 |
commit | 595251f74f215f5a7e4e86c644655a2df04b978f (patch) | |
tree | 42cad1bf3fe3219ef08956daf4a83724450cbf84 | |
parent | 5280017554f9dcdbae9cf3c96ff5875b085ea027 (diff) |
Fix cl_query to be installed to the right directory on macOS.benchmark
-rw-r--r-- | extern/clew/CMakeLists.txt | 7 |
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() |