aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnne-Marie Mahfouf <annma@kde.org>2009-01-09 15:02:42 +0000
committerAnne-Marie Mahfouf <annma@kde.org>2009-01-09 15:02:42 +0000
commit9b1592ac60d8ca3c717085fd2a51789deca298a3 (patch)
tree45c0c826429eb2155201a208ac2bc7310e729418
parent0edc600f2dfef9acf01382a796fd630fa98a6342 (diff)
downloadextra-cmake-modules-9b1592ac60d8ca3c717085fd2a51789deca298a3.tar.gz
extra-cmake-modules-9b1592ac60d8ca3c717085fd2a51789deca298a3.tar.bz2
add a training / so it's easier to call a filename without having to prepend the /
OKed by David Faure svn path=/trunk/KDE/kdelibs/; revision=908300
-rw-r--r--modules/KDE4Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index f719e4a3..7f5b1d6f 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -826,7 +826,7 @@ macro (KDE4_ADD_EXECUTABLE _target_NAME)
_automoc4_kde4_post_target_handling(${_target_NAME})
if (_test)
- set_target_properties(${_target_NAME} PROPERTIES COMPILE_FLAGS -DKDESRCDIR="\\"${CMAKE_CURRENT_SOURCE_DIR}\\"")
+ set_target_properties(${_target_NAME} PROPERTIES COMPILE_FLAGS -DKDESRCDIR="\\"${CMAKE_CURRENT_SOURCE_DIR}/\\"")
endif (_test)
kde4_handle_rpath_for_executable(${_target_NAME} ${_type})