File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,11 @@ target_link_libraries(${PROJECT_NAME}_static PUBLIC NetCDF::NetCDF_Fortran)
227227#Fortran module output directory for build and install interfaces
228228set (MODULE_DIR module/${PROJECT_NAME} /${CMAKE_Fortran_COMPILER_ID} /${CMAKE_Fortran_COMPILER_VERSION} )
229229set_target_properties (${PROJECT_NAME} PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR} /${MODULE_DIR} )
230+ set_source_files_properties (
231+ ${CMAKE_CURRENT_SOURCE_DIR} /CRTM_K_Matrix_Module.f90
232+ PROPERTIES COMPILE_FLAGS "-cpp"
233+ )
234+
230235install (DIRECTORY ${CMAKE_BINARY_DIR} /${MODULE_DIR} / DESTINATION ${MODULE_DIR} )
231236target_include_directories (${PROJECT_NAME} INTERFACE
232237 $<BUILD_INTERFACE:${CMAKE_BINARY_DIR} /${MODULE_DIR} >
You can’t perform that action at this time.
0 commit comments