mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
40774c625e
with unit test and FindAdolc cmake module
16 lines
340 B
CMake
16 lines
340 B
CMake
|
|
include(EigenTesting)
|
|
|
|
enable_testing()
|
|
|
|
find_package(Adolc)
|
|
|
|
include_directories(../../test)
|
|
|
|
if(ADOLC_FOUND)
|
|
include_directories(${ADOLC_INCLUDES})
|
|
ei_add_property(EIGEN_TESTED_BACKENDS "Adolc")
|
|
ei_add_test(forward_adolc " " ${ADOLC_LIBRARIES})
|
|
else(ADOLC_FOUND)
|
|
ei_add_property(EIGEN_MISSING_BACKENDS "Adolc")
|
|
endif(ADOLC_FOUND) |