summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-06 08:17:42 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-06 08:17:42 -0500
commit70b01d45067c2429ee2a7c0acc6778235cc7d3bb (patch)
tree829309d94c4b7d0d299d9d396116ca249aca2eb9
parentc0de8ba723b20ff321d922f3d5237643365c3c13 (diff)
downloadcmake-70b01d45067c2429ee2a7c0acc6778235cc7d3bb.tar.gz
COMP: Do not build cmw9xcom on Cygwin
-rw-r--r--Source/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index a0073122e1..817ee9f749 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -172,8 +172,10 @@ TARGET_LINK_LIBRARIES(DumpDocumentation CMakeLib)
# Build special executable for running programs on Windows 98
IF(WIN32)
- ADD_EXECUTABLE(cmw9xcom cmw9xcom.cxx)
- TARGET_LINK_LIBRARIES(cmw9xcom CMakeLib)
+ IF(NOT UNIX)
+ ADD_EXECUTABLE(cmw9xcom cmw9xcom.cxx)
+ TARGET_LINK_LIBRARIES(cmw9xcom CMakeLib)
+ ENDIF(NOT UNIX)
ENDIF(WIN32)
# Build CTest executable