Files
ports/science/openmc/files/patch-CMakeLists.txt
Yuri Victorovich 5e5188f1bd science/openmc: Update 0.13.0 -> 0.13.1
Reported by:	portscout
2022-08-20 10:30:28 -07:00

12 lines
531 B
Plaintext

--- CMakeLists.txt.orig 2022-08-20 16:50:43 UTC
+++ CMakeLists.txt
@@ -211,7 +211,7 @@ if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.
endif()
# Check to see if submodules exist (by checking one)
-if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/vendor/pugixml/CMakeLists.txt")
+if(FALSE AND NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/vendor/pugixml/CMakeLists.txt")
message(FATAL_ERROR "The git submodules were not downloaded! GIT_SUBMODULE was \
turned off or failed. Please update submodules and try again.")
endif()