Ninja: try to make GetProcessId visible

This commit is contained in:
Peter Kuemmel 2012-06-15 13:38:52 +02:00
parent ab245ff3c8
commit c05653e18c
1 changed files with 2 additions and 1 deletions

View File

@ -383,7 +383,8 @@ IF(CMAKE_ENABLE_NINJA)
cmNinjaUtilityTargetGenerator.h cmNinjaUtilityTargetGenerator.h
) )
ADD_DEFINITIONS(-DCMAKE_USE_NINJA) 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) ADD_EXECUTABLE(cmcldeps cmcldeps.cxx)
INSTALL_TARGETS(/bin cmcldeps) INSTALL_TARGETS(/bin cmcldeps)
ENDIF() ENDIF()