summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-02-21 13:49:39 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-02-21 13:49:39 +0100
commitbc35ce59ff5e7df9956159d59bf07512a5a48fd8 (patch)
treeb8a891299505670b4572a65bb1c7a229c3ab3a8e /CMakeLists.txt
parent7e42d73b46c1f1f37f0780ba5d009b7daeaba821 (diff)
Now everything builds in CMAKE_BUILD_DIR instead of some things in CMAKE_SOURCE_DIR
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 )
###############################################################################