We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dba844 commit eb402f4Copy full SHA for eb402f4
CMakeLists.txt
@@ -17,6 +17,14 @@ project(
17
LANGUAGES Fortran
18
)
19
20
+# Safety net (https://numpy.org/doc/stable/f2py/buildtools/skbuild.html#cmake-modules-only)
21
+if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
22
+ message(
23
+ FATAL_ERROR
24
+ "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.\n"
25
+ )
26
+endif()
27
+
28
# Set paths to Intel oneAPI MKL
29
if(${ENABLE_SPBLAS})
30
if (${ENABLE_FIND_INTEL_MKL})
0 commit comments