From 0c50c5870ae22f1da7995c66c79bdcca6ce3c369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 18 Jan 2012 10:31:53 +0000 Subject: [PATCH] Fixed path to local fixbundle git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@505 fdac6126-5c0c-442c-9429-916003d36597 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7abe75e9..571aeefe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ add_subdirectory (Doc) if (WIN32 AND BUILD_APPS ) # prepare bundle generation cmake file and add a build target for it - configure_file ("${CMAKE_SOURCE_DIR}/cmake/fixbundle.cmake.win.in" + configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/cmake/fixbundle.cmake.win.in" "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" @ONLY IMMEDIATE) if ( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" ) @@ -82,7 +82,7 @@ endif() if (APPLE) # prepare bundle generation cmake file and add a build target for it - configure_file ("${CMAKE_SOURCE_DIR}/cmake/fixbundle.cmake.in" + configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/cmake/fixbundle.cmake.in" "${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE) # let bundle generation depend on all targets