summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-02-18 07:07:11 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-02-18 07:15:23 (GMT)
commit7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e (patch)
treed96a23ef8d6a46a7e291a596875d5d9452a78ab5 /Source/CMakeLists.txt
parent5d19e8aa6aac75fb08897aece8aa5545360aeeb2 (diff)
downloadCMake-7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.zip
CMake-7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.tar.gz
CMake-7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.tar.bz2
Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nop
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 7ddabbd..7cc56d7 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -353,9 +353,8 @@ IF (WIN32)
ENDIF(NOT UNIX)
ENDIF (WIN32)
-# Ninja only works on UNIX.
-IF(UNIX)
- SET(SRCS ${SRCS}
+
+SET(SRCS ${SRCS}
cmGlobalNinjaGenerator.cxx
cmGlobalNinjaGenerator.h
cmNinjaTypes.h
@@ -368,8 +367,8 @@ IF(UNIX)
cmNinjaUtilityTargetGenerator.cxx
cmNinjaUtilityTargetGenerator.h
)
- ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
-ENDIF(UNIX)
+ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
+
# create a library used by the command line and the GUI
ADD_LIBRARY(CMakeLib ${SRCS})