From 70ce443ca384bef01d896a5e1dc81acb90f3df51 Mon Sep 17 00:00:00 2001 From: Golubev Alexander Date: Fri, 26 Jul 2013 06:54:35 +0400 Subject: force cmake to create update-entities script in binary directory: make sources read-only --- kdoctools/ConfigureChecks.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kdoctools') 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." ) -- cgit v1.2.1