diff options
-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() |