mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
optimize cmake scripts for subproject use
(cherry picked from commit 19cacd3ecb)
This commit is contained in:
committed by
Antonio Sanchez
parent
75ebef26b6
commit
d0bfdc1658
@@ -51,7 +51,7 @@ endforeach()
|
||||
|
||||
if(EIGEN_Fortran_COMPILER_WORKS)
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(EIGEN_BUILD_TESTING)
|
||||
if(EIGEN_LEAVE_TEST_IN_ALL_TARGET)
|
||||
add_subdirectory(testing) # can't do EXCLUDE_FROM_ALL here, breaks CTest
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user