Commit c7a217fe by Maarten L. Hekkelman

cleaner makefile

parent e4ae19a6
...@@ -39,6 +39,7 @@ include(GenerateExportHeader) ...@@ -39,6 +39,7 @@ include(GenerateExportHeader)
include(CTest) include(CTest)
include(CMakeDependentOption) include(CMakeDependentOption)
include(FetchContent) include(FetchContent)
include(ExternalProject)
set(CXX_EXTENSIONS OFF) set(CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
...@@ -466,7 +467,8 @@ if(BUILD_TESTING) ...@@ -466,7 +467,8 @@ if(BUILD_TESTING)
add_executable(${CIFPP_TEST} ${CIFPP_TEST_SOURCE}) add_executable(${CIFPP_TEST} ${CIFPP_TEST_SOURCE})
target_link_libraries(${CIFPP_TEST} PRIVATE Threads::Threads cifpp::cifpp Boost::boost Eigen3::Eigen) target_link_libraries(${CIFPP_TEST} PRIVATE Threads::Threads cifpp::cifpp Boost::boost)
target_include_directories(${CIFPP_TEST} PRIVATE ${EIGEN_INCLUDE_DIR})
if(MSVC) if(MSVC)
# Specify unwind semantics so that MSVC knowns how to handle exceptions # Specify unwind semantics so that MSVC knowns how to handle exceptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment