summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 11:38:52 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 11:38:52 (GMT)
commitc05653e18c2baca1abe9d01a06810d997d13f337 (patch)
treeb1a5d4ba03e238456bb1bfe1639225fca0038bd9 /Source
parentab245ff3c824797a5a7437330e077a2e6a58593b (diff)
downloadCMake-c05653e18c2baca1abe9d01a06810d997d13f337.zip
CMake-c05653e18c2baca1abe9d01a06810d997d13f337.tar.gz
CMake-c05653e18c2baca1abe9d01a06810d997d13f337.tar.bz2
Ninja: try to make GetProcessId visible
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index ebeda56..3f8a27e 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -383,7 +383,8 @@ IF(CMAKE_ENABLE_NINJA)
cmNinjaUtilityTargetGenerator.h
)
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
- IF(MSVC) # TODO WIN32
+ IF(WIN32)
+ SET_SOURCE_FILES_PROPERTIES(cmcldeps.cxx PROPERTIES COMPILE_DEFINITIONS _WIN32_WINNT=0x0501)
ADD_EXECUTABLE(cmcldeps cmcldeps.cxx)
INSTALL_TARGETS(/bin cmcldeps)
ENDIF()