File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ message(STATUS "Build C++ library: ${BUILD_CXX}")
6161
6262option (BUILD_TESTING "Build Tests" ON )
6363
64-
6564option (FORTRAN "Build Fortran interface" OFF )
6665message (STATUS "Build Fortran: ${FORTRAN} " )
6766option (CSHARP "Build CSharp interface" OFF )
@@ -83,7 +82,6 @@ include(CMakeDependentOption)
8382CMAKE_DEPENDENT_OPTION(ALL_TESTS "Build all tests" OFF "BUILD_TESTING;BUILD_CXX" OFF )
8483message (STATUS "Build all tests: ${ALL_TESTS} " )
8584
86-
8785CMAKE_DEPENDENT_OPTION(BUILD_EXTRA_UNIT_TESTS "Build extra unit tests" OFF "BUILD_TESTING;BUILD_CXX;ALL_TESTS" OFF )
8886if (BUILD_EXTRA_UNIT_TESTS)
8987 message (STATUS "Build extra unit tests: ON" )
Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ if (NOT FAST_BUILD OR ALL_TESTS)
8989 add_executable (unit_tests ${TEST_SOURCES} )
9090
9191 if (BUILD_EXTRA_UNIT_TESTS)
92- set (TEST_SOURCES ${TEST_SOURCES} ${HIGHS_EXTRA_UNIT_TESTS} )
92+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /highs-unit-tests" )
93+ include (extra-tests)
94+ set (TEST_SOURCES ${TEST_SOURCES} ${HIGHS_EXTRA_UNIT_TESTS} )
9395 endif ()
9496
9597 if (UNIX )
You can’t perform that action at this time.
0 commit comments