MushMachine/systems/simple_velocity/CMakeLists.txt
Green Sky 6b06d5cb99 update all cmake files to version 3.9
other misc cmake fixes

version 3.9 allows for ipo (lto)
2022-05-03 19:33:19 +02:00

24 lines
446 B
CMake

cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(simple_velocity_system CXX)
add_library(simple_velocity_system
src/mm/systems/simple_velocity_system2d.hpp
src/mm/systems/simple_velocity_system2d.cpp
)
target_include_directories(simple_velocity_system PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_link_libraries(simple_velocity_system
entt
glm
engine
common_components
)
if (BUILD_TESTING)
add_subdirectory(test)
endif()