From 49c64f7f1520160ad4584ca55382055f3111d4ac Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 23 Jul 2017 03:52:40 +0000 Subject: [PATCH] CMake, macOS: create bundle directory explicitly. Before this commit, this worked fine with the Unix Makefiles generator, but not with the Xcode generator. --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4363bcf..47ca43a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -378,6 +378,7 @@ if(APPLE) set(bundle_bin ${EXECUTABLE_OUTPUT_PATH}/${bundle}.app/Contents/MacOS) add_custom_command(TARGET solvespace POST_BUILD + COMMAND ${CMAKE_COMMAND} -E make_directory ${bundle_bin} COMMAND ${CMAKE_COMMAND} -E copy $ ${bundle_bin} COMMENT "Bundling executable solvespace-cli" VERBATIM)