diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-02-19 11:30:07 +0100 |
---|---|---|
committer | Peter Kuemmel <syntheticpp@gmx.net> | 2012-02-19 11:30:07 +0100 |
commit | adb54f3dbf802f643c8af9f8de6f67f24804dd22 (patch) | |
tree | aa1c66af0924c5f077de120655f444df2295b6b1 /Source/CMakeLists.txt | |
parent | 895914881be32f862dee638a0a86313366f9b7b4 (diff) | |
download | cmake-adb54f3dbf802f643c8af9f8de6f67f24804dd22.tar.gz |
Ninja: add some hacks for Windows
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index e0a6f42789..a53a0c1820 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -367,6 +367,10 @@ SET(SRCS ${SRCS} cmNinjaUtilityTargetGenerator.h ) ADD_DEFINITIONS(-DCMAKE_USE_NINJA) +IF(WIN32) + # TODO remove + ADD_DEFINITIONS(-DENABLE_WIN32_NINJA_HACKS) +endif() # create a library used by the command line and the GUI ADD_LIBRARY(CMakeLib ${SRCS}) |