diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-11 14:41:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-11 14:41:42 (GMT) |
commit | 6e64163019f19621058f45b696d5ce02c4db2e74 (patch) | |
tree | 6a108cf140c51d935a3caebd2e98c00520b97b99 /Modules/FindQt4.cmake | |
parent | b8483cf10905814078693a58f0c3c7e56af7006f (diff) | |
download | CMake-6e64163019f19621058f45b696d5ce02c4db2e74.zip CMake-6e64163019f19621058f45b696d5ce02c4db2e74.tar.gz CMake-6e64163019f19621058f45b696d5ce02c4db2e74.tar.bz2 |
ENH: fix for bug 3216 allow full path to qt input files
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r-- | Modules/FindQt4.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index b058dd0..c31b2f6 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -741,7 +741,7 @@ IF (QT4_QMAKE_FOUND) FOREACH (it ${ARGN}) GET_FILENAME_COMPONENT(outfile ${it} NAME_WE) - SET(infile ${CMAKE_CURRENT_SOURCE_DIR}/${it}) + GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE) SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h) ADD_CUSTOM_COMMAND(OUTPUT ${outfile} COMMAND ${QT_UIC_EXECUTABLE} @@ -760,7 +760,7 @@ IF (QT4_QMAKE_FOUND) FOREACH (it ${ARGN}) GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE) - SET(infile ${CMAKE_CURRENT_SOURCE_DIR}/${it}) + GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE) SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx) ADD_CUSTOM_COMMAND(OUTPUT ${outfile} COMMAND ${QT_RCC_EXECUTABLE} |