summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3158b13..5c3925a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,7 +181,7 @@ IF ( BUNDLE )
SET ( CMAKE_INSTALL_LOCALEDIR share/locale/ )
SET ( CMAKE_INSTALL_ETCDIR etc )
SET ( CMAKE_INSTALL_DOCDIR doc )
- CONFIGURE_FILE ( ${WORKDIR}/base/path.h.in ${WORKDIR}/base/path.h )
+ CONFIGURE_FILE ( ${WORKDIR}/base/path.h.in ${CMAKE_BINARY_DIR}/src/base/path.h )
ENDIF ( BUNDLE )
###############################################################################
# GETTEXT SUPPORT
@@ -200,7 +200,7 @@ MESSAGE ( "CXXflags:${CMAKE_CXX_FLAGS}" )
MESSAGE ( STATUS "<Compiling SRC>" )
MESSAGE ( STATUS "<******************************>" )
IF ( NOT BUNDLE )
- CONFIGURE_FILE ( ${WORKDIR}/base/path.h.in ${WORKDIR}/base/path.h )
+ CONFIGURE_FILE ( ${WORKDIR}/base/path.h.in ${CMAKE_BINARY_DIR}/src/base/path.h )
ENDIF ( NOT BUNDLE )
ADD_SUBDIRECTORY ( src )
###############################################################################