summaryrefslogtreecommitdiff
path: root/science/mrchem/files/patch-cmake_custom_main.cmake
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-11-14 17:56:21 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2022-11-14 19:06:47 -0800
commit297ec918b5fdb25b844c9c50d8bdd9059663b3b5 (patch)
tree7f59c8090986109b7a39575dbe4d6999aeed4e03 /science/mrchem/files/patch-cmake_custom_main.cmake
parentscience/mrcpp: Change MPI default (diff)
science/mrchem: New port: MultiResolution Chemistry
Diffstat (limited to 'science/mrchem/files/patch-cmake_custom_main.cmake')
-rw-r--r--science/mrchem/files/patch-cmake_custom_main.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/mrchem/files/patch-cmake_custom_main.cmake b/science/mrchem/files/patch-cmake_custom_main.cmake
new file mode 100644
index 000000000000..5f9e8a0e42cc
--- /dev/null
+++ b/science/mrchem/files/patch-cmake_custom_main.cmake
@@ -0,0 +1,11 @@
+--- cmake/custom/main.cmake.orig 2022-10-26 08:49:22 UTC
++++ cmake/custom/main.cmake
+@@ -62,5 +62,7 @@ include(${PROJECT_SOURCE_DIR}/external/upstream/fetch_
+ set(CMAKE_BUILD_TYPE ${_build_type})
+
+ add_subdirectory(src)
+-add_subdirectory(python)
++if (BUILD_PYTHON)
++ add_subdirectory(python)
++endif()
+ add_subdirectory(pilot)