summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-08 15:30:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-08 15:30:47 (GMT)
commitfb62f79163f6ece0d992db2fdfb7bab2310c80b9 (patch)
tree7e1821fba9d89bb3ae266492f469893219a597d9 /Source/QtDialog
parent67834f2d535b46655074932371d9e4f2f024c44c (diff)
downloadCMake-fb62f79163f6ece0d992db2fdfb7bab2310c80b9.zip
CMake-fb62f79163f6ece0d992db2fdfb7bab2310c80b9.tar.gz
CMake-fb62f79163f6ece0d992db2fdfb7bab2310c80b9.tar.bz2
ENH: make sure cmake-gui builds with cmake 2.4.X
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index de13a7e..37f96ed 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -55,12 +55,12 @@ ELSE(NOT QT4_FOUND)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
ADD_EXECUTABLE(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS})
- IF(APPLE)
- SET_TARGET_PROPERTIES(cmake-gui PROPERTIES
- OUTPUT_NAME ${CMAKE_BUNDLE_NAME})
- ENDIF(APPLE)
TARGET_LINK_LIBRARIES(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${QT_LIBRARIES})
IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.4)
+ IF(APPLE)
+ SET_TARGET_PROPERTIES(cmake-gui PROPERTIES
+ OUTPUT_NAME ${CMAKE_BUNDLE_NAME})
+ ENDIF(APPLE)
SET(CMAKE_INSTALL_DESTINATION_ARGS
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}")
ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.4)