NumericalMethods/lib/CMakeLists.txt
2021-12-16 15:38:52 +01:00

11 lines
347 B
CMake

add_library(nm_utils STATIC
"Window.cpp"
"RetentiveArray.hpp" "RetentiveObject.hpp" "RetentiveEntity.hpp")
target_include_directories(nm_utils PUBLIC ${SDL2_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(nm_utils PUBLIC ${SDL2_LIBRARIES})
if(MSVC)
target_compile_definitions(nm_utils PUBLIC _CRT_SECURE_NO_WARNINGS)
endif()