增加数学库定义
This commit is contained in:
parent
f8a3ff0879
commit
235ce49408
8
math.cmake
Normal file
8
math.cmake
Normal file
@ -0,0 +1,8 @@
|
||||
macro(use_mgl MGL_PATH)
|
||||
add_definitions(-DMATH_USE_OPENGL)
|
||||
add_definitions(-DMATH_RIGHTHANDED_CAMERA)
|
||||
add_definitions(-DMATH_AVX)
|
||||
|
||||
include_directories(${MGL_PATH}/src)
|
||||
add_subdirectory(${MGL_PATH})
|
||||
endmacro()
|
Loading…
x
Reference in New Issue
Block a user