mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
ENH: make sure cmake-gui builds with cmake 2.4.X
This commit is contained in:
parent
67834f2d53
commit
fb62f79163
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user