Geometry/CMakeLists.txt
Karl-Wilfried Zimmer 44502d3cc6 snap
2023-12-31 16:01:03 +01:00

24 lines
521 B
CMake

cmake_minimum_required(VERSION 3.14)
project(Geometry VERSION 0.1 LANGUAGES CXX)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
endif ()
set(CMAKE_CXX_STANDARD 17)
include(FetchContent)
FetchContent_Declare(
eigen
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
GIT_TAG 3.4.0
)
FetchContent_MakeAvailable(eigen)
include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/Geometry)
add_subdirectory(src)
add_subdirectory(app)