mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Fixed: Parsing of CMAKE_MAKE_PROGRAM
This commit is contained in:
parent
b10efeb9bb
commit
92580e0239
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ IF(WITH_STLPORT)
|
|||
IF(WIN32)
|
||||
FIND_PACKAGE(WindowsSDK REQUIRED)
|
||||
# convert IDE fullpath to include path
|
||||
STRING(REGEX REPLACE "Common7/IDE/[A-Za-z]+\\.exe" "VC/include" VCINCLUDE_DIR ${CMAKE_MAKE_PROGRAM})
|
||||
STRING(REGEX REPLACE "Common7/IDE/.+" "VC/include" VCINCLUDE_DIR ${CMAKE_MAKE_PROGRAM})
|
||||
# use VC++ and Windows SDK include paths
|
||||
INCLUDE_DIRECTORIES(${VCINCLUDE_DIR} ${WINSDK_INCLUDE_DIR})
|
||||
# deactivate all global include paths
|
||||
|
|
Loading…
Reference in a new issue