mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 16:43:33 +02:00
Configure multi-processor building on Windows
This commit is contained in:
parent
daef739dee
commit
bc1660cdeb
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ add_definitions(-DGLM_FORCE_RADIANS)
|
|||
if (WIN32)
|
||||
add_definitions(-DNOMINMAX -D_CRT_SECURE_NO_WARNINGS)
|
||||
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1 ")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
elseif (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
|
||||
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic")
|
||||
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unknown-pragmas")
|
||||
|
|
Loading…
Reference in a new issue