We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d598dcb commit a210402Copy full SHA for a210402
pluto/src/CMakeLists.txt
@@ -105,11 +105,13 @@ ecbuild_add_library( TARGET pluto
105
target_compile_features( pluto INTERFACE cxx_std_17 )
106
target_compile_options( pluto PUBLIC $<$<COMPILE_LANGUAGE:CUDA>:--extended-lambda>)
107
108
+if (HAVE_FORTRAN)
109
+ ecbuild_add_library( TARGET pluto_f
110
+ SOURCES
111
+ pluto_f/pluto_module.F90
112
+ pluto_f/pluto_module.cc
113
+ PRIVATE_LIBS pluto
114
+ PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
115
+ )
116
+endif()
117
-ecbuild_add_library( TARGET pluto_f
- SOURCES
- pluto_f/pluto_module.F90
- pluto_f/pluto_module.cc
- PRIVATE_LIBS pluto
- PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
-)
0 commit comments