improved compiler.cmake
This commit is contained in:
parent
458545dfe3
commit
ca9aece201
@ -8,8 +8,9 @@ IF(WIN32)
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++2a -O2 -fchar8_t")
|
||||
|
||||
add_definitions(-D_WIN32_WINNT=0x0601)
|
||||
endif()
|
||||
|
||||
else(MSVC)
|
||||
if(MSVC)
|
||||
|
||||
OPTION(MSVC_USE_DLL "use MSVC DLL" ON)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
find_package(glm CONFIG REQUIRED)
|
||||
|
||||
add_definitions(-DGLM_FORCE_RADIANS)
|
||||
add_definitions(-DGLM_FORCE_DEPTH_ZERO_TO_ONE)
|
||||
add_definitions(-DGLM_ENABLE_EXPERIMENTAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user