From de7397ecfdff8e9eefcc2eadec70fe77d462413f Mon Sep 17 00:00:00 2001 From: Gregor Kobsik Date: Fri, 29 May 2020 16:42:54 +0200 Subject: [PATCH] Changed fixbundle dir from root to current for windows for standalone build --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0cb7174..d5f0d3b9 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -169,8 +169,8 @@ if(${PROJECT_NAME} MATCHES "OpenMesh") # On apple we do a fixbundle, which is only necessary for the apps and not for the libs if (APPLE AND BUILD_APPS) # prepare bundle generation cmake file and add a build target for it - configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/cmake/fixbundle.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE) + configure_file ("${CMAKE_SOURCE_DIR}/cmake/fixbundle.cmake.in" + "${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE) # let bundle generation depend on all targets add_dependencies (fixbundle DecimaterGui ProgViewer QtViewer SubdividerGui)