[TESTS][CMAKE] added the eigen library to the tests CmakeLists
This commit is contained in:
parent
8aea305ad3
commit
9fc9b94be7
1 changed files with 2 additions and 1 deletions
|
|
@ -9,10 +9,11 @@ rotgen_setup_test_targets()
|
||||||
##======================================================================================================================
|
##======================================================================================================================
|
||||||
## Compiler options for Unit Tests
|
## Compiler options for Unit Tests
|
||||||
##======================================================================================================================
|
##======================================================================================================================
|
||||||
|
find_package (Eigen3 3.4 REQUIRED NO_MODULE)
|
||||||
add_library(rotgen_test INTERFACE)
|
add_library(rotgen_test INTERFACE)
|
||||||
target_compile_options(rotgen_test INTERFACE -std=c++20 -Werror -Wall -Wextra -Wshadow -Wunused-variable)
|
target_compile_options(rotgen_test INTERFACE -std=c++20 -Werror -Wall -Wextra -Wshadow -Wunused-variable)
|
||||||
target_include_directories( rotgen_test INTERFACE ${PROJECT_SOURCE_DIR}/test)
|
target_include_directories( rotgen_test INTERFACE ${PROJECT_SOURCE_DIR}/test)
|
||||||
target_link_libraries(rotgen_test INTERFACE rotgen)
|
target_link_libraries(rotgen_test INTERFACE rotgen Eigen3::Eigen)
|
||||||
|
|
||||||
##======================================================================================================================
|
##======================================================================================================================
|
||||||
## Unit Tests registration
|
## Unit Tests registration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue