File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ IF(WIN32)
3333 # This method adds the necessary compiler flag
3434 SET (RUNTIME_MINIMUM_WINDOWS_VERSION "0x0602" )
3535 add_definitions (-D_MSC_PLATFORM_TOOLSET_$ (PlatformToolset ))
36+
37+ # Correct the incoming windows sdk variables, as they have been manipulated to be passed to this project
38+ # as # separated strings
39+ STRING (REPLACE "#" ";" WINDOWS_SDK_INCLUDE_DIRS "${WINDOWS_SDK_INCLUDE_DIRS} " )
40+ SET (WINDOWS_SDK_INCLUDE_DIRS ${WINDOWS_SDK_INCLUDE_DIRS} CACHE PATH "Path to the Windows SDK include dirs" FORCE )
41+ STRING (REPLACE "#" ";" WINDOWS_SDK_LIBRARY_DIRS "${WINDOWS_SDK_LIBRARY_DIRS} " )
42+ SET (WINDOWS_SDK_LIBRARY_DIRS ${WINDOWS_SDK_LIBRARY_DIRS} CACHE PATH "Path to the Windows SDK library dirs" FORCE )
3643ENDIF ()
3744
3845# --------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments