diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2009-11-13 13:05:57 +0000 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2009-11-13 13:05:57 +0000 |
commit | d07c05b3a5e338a018e7b0992f32f45ef2f12495 (patch) | |
tree | 9ba0fd90431cd76edddc21439ca89bf8aa230370 /unsupported | |
parent | 7e3c4096d88372f68991671474039100386c33be (diff) |
Build tests for unsupported modules if EIGEN_LEAVE_TEST_IN_ALL_TARGET
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unsupported/CMakeLists.txt b/unsupported/CMakeLists.txt index 7104085a3..4fef40a86 100644 --- a/unsupported/CMakeLists.txt +++ b/unsupported/CMakeLists.txt @@ -1,3 +1,7 @@ add_subdirectory(Eigen) add_subdirectory(doc EXCLUDE_FROM_ALL) -add_subdirectory(test EXCLUDE_FROM_ALL) +if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) + add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest +else() + add_subdirectory(test EXCLUDE_FROM_ALL) +endif() |