mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
now template
This commit is contained in:
@@ -13,10 +13,7 @@ option(OMATH_BUILD_AS_SHARED_LIBRARY "Build Omath as .so or .dll" OFF)
|
||||
if (OMATH_BUILD_AS_SHARED_LIBRARY)
|
||||
add_library(omath SHARED source/Vector3.cpp)
|
||||
else()
|
||||
add_library(omath STATIC source/Vector3.cpp
|
||||
include/omath/engines/OpenGL/Constants.hpp
|
||||
include/omath/engines/OpenGL/Formulas.hpp
|
||||
include/omath/engines/OpenGL/Camera.hpp)
|
||||
add_library(omath STATIC source/Matrix.cpp)
|
||||
endif()
|
||||
|
||||
set_target_properties(omath PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user