summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-16 10:31:50 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-16 10:31:50 (GMT)
commit57156a5d30aae61f170e8721f330a0b207797330 (patch)
tree26efe3966d8f2ae7d25ea72be3517dec8faaf243 /Source/CMakeLists.txt
parentf1abdce1cc7df4ace0a15c9fb0c62d975f92fa3a (diff)
downloadCMake-57156a5d30aae61f170e8721f330a0b207797330.zip
CMake-57156a5d30aae61f170e8721f330a0b207797330.tar.gz
CMake-57156a5d30aae61f170e8721f330a0b207797330.tar.bz2
Ninja: build server fixes
- disable cldeps on cygwin - don't "use" namespace std
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 3f8a27e..557f065 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -383,7 +383,7 @@ IF(CMAKE_ENABLE_NINJA)
cmNinjaUtilityTargetGenerator.h
)
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
- IF(WIN32)
+ IF(WIN32 AND NOT CYGWIN)
SET_SOURCE_FILES_PROPERTIES(cmcldeps.cxx PROPERTIES COMPILE_DEFINITIONS _WIN32_WINNT=0x0501)
ADD_EXECUTABLE(cmcldeps cmcldeps.cxx)
INSTALL_TARGETS(/bin cmcldeps)