summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-07-02 13:58:08 (GMT)
committerBrad King <brad.king@kitware.com>2007-07-02 13:58:08 (GMT)
commitc8b263c674d9c75232b4317b57259b1bbff88016 (patch)
tree89cf916317f64fb6520810aedfa0362afc420615 /Tests/SimpleInstall
parent5c00dda8cee2886bea3cfb72f25b2da179af6ecd (diff)
downloadCMake-c8b263c674d9c75232b4317b57259b1bbff88016.zip
CMake-c8b263c674d9c75232b4317b57259b1bbff88016.tar.gz
CMake-c8b263c674d9c75232b4317b57259b1bbff88016.tar.bz2
ENH: Enable versioned executable test everywhere but XCode.
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index 1f80b32..3d619ee 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -240,7 +240,9 @@ ELSE(STAGE2)
SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstallExe)
# Disable VERSION test until it is implemented in the XCode generator.
- #SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2)
+ IF(NOT XCODE)
+ SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2)
+ ENDIF(NOT XCODE)
SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES PRE_INSTALL_SCRIPT
${CMAKE_CURRENT_SOURCE_DIR}/PreInstall.cmake)
SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES POST_INSTALL_SCRIPT