diff options
Diffstat (limited to 'sci-physics/espresso/files/espresso-4.2.0-fix-disable-test.patch')
-rw-r--r-- | sci-physics/espresso/files/espresso-4.2.0-fix-disable-test.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-physics/espresso/files/espresso-4.2.0-fix-disable-test.patch b/sci-physics/espresso/files/espresso-4.2.0-fix-disable-test.patch new file mode 100644 index 000000000000..83c133df4bdd --- /dev/null +++ b/sci-physics/espresso/files/espresso-4.2.0-fix-disable-test.patch @@ -0,0 +1,12 @@ +diff --git a/src/script_interface/CMakeLists.txt b/src/script_interface/CMakeLists.txt +index a799571..9d03f33 100644 +--- a/src/script_interface/CMakeLists.txt ++++ b/src/script_interface/CMakeLists.txt +@@ -54,4 +54,6 @@ target_link_libraries( + target_include_directories(Espresso_script_interface + PUBLIC ${CMAKE_SOURCE_DIR}/src) + +-add_subdirectory(tests) ++if(WITH_TESTS) ++ add_subdirectory(tests) ++endif(WITH_TESTS) |