We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb7366 commit 166fd79Copy full SHA for 166fd79
1 file changed
numgrid/CMakeLists.txt
@@ -21,17 +21,19 @@ target_include_directories(
21
${CMAKE_CURRENT_BINARY_DIR}
22
)
23
24
-add_library(
25
- numgrid_fortran_bindings
26
- SHARED
27
- numgrid.f90
28
- )
+if(ENABLE_FC_SUPPORT)
+ add_library(
+ numgrid_fortran_bindings
+ SHARED
+ numgrid.f90
29
+ )
30
-target_link_libraries(
31
32
- PRIVATE
33
- numgrid
34
+ target_link_libraries(
+ PRIVATE
+ numgrid
35
36
+endif()
37
38
# generate numgrid_export.h
39
include(GenerateExportHeader)
0 commit comments