added HGL_GLM_LIB macro that it can auto redefine glm library name between win or other any platforms.
This commit is contained in:
parent
23696b3be6
commit
78046ef7e5
@ -2,3 +2,9 @@ find_package(glm CONFIG REQUIRED)
|
||||
add_definitions(-DGLM_FORCE_RADIANS)
|
||||
add_definitions(-DGLM_FORCE_DEPTH_ZERO_TO_ONE)
|
||||
add_definitions(-DGLM_ENABLE_EXPERIMENTAL)
|
||||
|
||||
if(WIN32)
|
||||
SET(HGL_GLM_LIB glm::glm)
|
||||
else()
|
||||
SET(HGL_GLM_LIB GLM)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user