Merge branch 'master' of https://github.com/hyzboy/CMCMakeModule
This commit is contained in:
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()
|
Reference in New Issue
Block a user