mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:58:51 +02:00
cleanup WINDOWS_SDK_PATH debug
This commit is contained in:
parent
c9c536ff00
commit
7b920b6047
1 changed files with 5 additions and 4 deletions
|
@ -30,9 +30,8 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
add_definitions(-DNOMINMAX -D_CRT_SECURE_NO_WARNINGS)
|
add_definitions(-DNOMINMAX -D_CRT_SECURE_NO_WARNINGS)
|
||||||
# set path for Microsoft SDKs
|
# sets path for Microsoft SDKs
|
||||||
# if get build error about missing 'glu32' this path is likely wrong
|
# if you get build error about missing 'glu32' this path is likely wrong
|
||||||
# Uncomment the line with 8.1 if running Windows 8.1
|
|
||||||
if (MSVC10)
|
if (MSVC10)
|
||||||
set(WINDOW_SDK_PATH "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1 ")
|
set(WINDOW_SDK_PATH "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1 ")
|
||||||
elseif (MSVC12)
|
elseif (MSVC12)
|
||||||
|
@ -43,7 +42,9 @@ if (WIN32)
|
||||||
endif()
|
endif()
|
||||||
set(WINDOW_SDK_PATH "C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\${WINDOW_SDK_FOLDER}")
|
set(WINDOW_SDK_PATH "C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\${WINDOW_SDK_FOLDER}")
|
||||||
endif ()
|
endif ()
|
||||||
message (WINDOW_SDK_PATH= ${WINDOW_SDK_PATH})
|
|
||||||
|
message("The discovered Windows SDK path is ${WINDOW_SDK_PATH}")
|
||||||
|
|
||||||
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${WINDOW_SDK_PATH})
|
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${WINDOW_SDK_PATH})
|
||||||
# /wd4351 disables warning C4351: new behavior: elements of array will be default initialized
|
# /wd4351 disables warning C4351: new behavior: elements of array will be default initialized
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /wd4351")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /wd4351")
|
||||||
|
|
Loading…
Reference in a new issue