mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Reorganize CMake and minimize configuration for non-top-level builds.
This commit is contained in:
@@ -4,7 +4,7 @@ if(EIGEN_BUILD_DOC)
|
||||
endif()
|
||||
if(EIGEN_BUILD_TESTING)
|
||||
if(EIGEN_LEAVE_TEST_IN_ALL_TARGET)
|
||||
add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest
|
||||
add_subdirectory(test) # CTest automatic test building relies on the "all" target.
|
||||
else()
|
||||
add_subdirectory(test EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user