mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-10 23:21:47 +08:00
Fix bug #738: use the "current" version of cmake project directories to ease the inclusion of Eigen within other projects.
This commit is contained in:
parent
84a99f3a93
commit
ccd7beba90
@ -41,7 +41,7 @@ endif()
|
|||||||
|
|
||||||
# copy ctest properties, which currently
|
# copy ctest properties, which currently
|
||||||
# o raise the warning levels
|
# o raise the warning levels
|
||||||
configure_file(${CMAKE_BINARY_DIR}/DartConfiguration.tcl ${CMAKE_BINARY_DIR}/DartConfiguration.tcl)
|
configure_file(${CMAKE_CURRENT_BINARY_DIR}/DartConfiguration.tcl ${CMAKE_BINARY_DIR}/DartConfiguration.tcl)
|
||||||
|
|
||||||
# restore default CMAKE_MAKE_PROGRAM
|
# restore default CMAKE_MAKE_PROGRAM
|
||||||
set(CMAKE_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM_SAVE})
|
set(CMAKE_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM_SAVE})
|
||||||
@ -50,7 +50,7 @@ set(CMAKE_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM_SAVE})
|
|||||||
set(CMAKE_MAKE_PROGRAM_SAVE)
|
set(CMAKE_MAKE_PROGRAM_SAVE)
|
||||||
set(EIGEN_MAKECOMMAND_PLACEHOLDER)
|
set(EIGEN_MAKECOMMAND_PLACEHOLDER)
|
||||||
|
|
||||||
configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake.in ${CMAKE_BINARY_DIR}/CTestCustom.cmake)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in ${CMAKE_BINARY_DIR}/CTestCustom.cmake)
|
||||||
|
|
||||||
# some documentation of this function would be nice
|
# some documentation of this function would be nice
|
||||||
ei_init_testing()
|
ei_init_testing()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user