summaryrefslogtreecommitdiffstats
path: root/kdoctools/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorGolubev Alexander <fatzer2@gmail.com>2013-07-26 06:54:35 +0400
committerGolubev Alexander <fatzer2@gmail.com>2013-07-26 06:54:35 +0400
commit70ce443ca384bef01d896a5e1dc81acb90f3df51 (patch)
treef5e277df2b4672bf7a6a18d607f0c9e587721ded /kdoctools/ConfigureChecks.cmake
parentc039fefba9c761a1d7648ce038ed885e98b9e6b2 (diff)
downloadtdelibs-70ce443ca384bef01d896a5e1dc81acb90f3df51.tar.gz
tdelibs-70ce443ca384bef01d896a5e1dc81acb90f3df51.zip
force cmake to create update-entities script in binary directory: make sources read-only
Diffstat (limited to 'kdoctools/ConfigureChecks.cmake')
-rw-r--r--kdoctools/ConfigureChecks.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdoctools/ConfigureChecks.cmake b/kdoctools/ConfigureChecks.cmake
index 01086cf36..3b65c67fd 100644
--- a/kdoctools/ConfigureChecks.cmake
+++ b/kdoctools/ConfigureChecks.cmake
@@ -8,11 +8,11 @@
#
#################################################
-configure_file( ${CMAKE_SOURCE_DIR}/kdoctools/update-entities.sh ${CMAKE_SOURCE_DIR}/kdoctools/update-entities IMMEDIATE @ONLY )
+configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/update-entities.sh ${CMAKE_CURRENT_BINARY_DIR}/update-entities IMMEDIATE @ONLY )
-set( UPDATE_SCRIPT "${CMAKE_SOURCE_DIR}/kdoctools/update-entities" )
+set( UPDATE_SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/update-entities" )
set( TDEVERSION_FILE "${CMAKE_SOURCE_DIR}/tdecore/tdeversion.h" )
-set( ENTITIES_FILE "${CMAKE_SOURCE_DIR}/kdoctools/customization/entities/general.entities" )
+set( ENTITIES_FILE "${CMAKE_CURRENT_SOURCE_DIR}/customization/entities/general.entities" )
if( NOT EXISTS ${UPDATE_SCRIPT} )
tde_message_fatal( "${UPDATE_SCRIPT} not found!\n Check your sources." )