cmake_minimum_required(VERSION 3.10) project(Geometry) set(CMAKE_CXX_STANDARD 17) include_directories(${PROJECT_SOURCE_DIR}/include) add_subdirectory(lib/eigen) add_executable(Geometry main.cpp) target_link_libraries(Geometry PUBLIC Eigen3::Eigen) target_include_directories(Geometry PUBLIC "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/lib/eigen/Eigen")