Skip to content

Commit

Permalink
Capitalize f90
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Sep 20, 2024
1 parent 27b9ece commit 0dcfe43
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ set(SRC
stdlib_hashmaps.f90
stdlib_hashmap_chaining.f90
stdlib_hashmap_open.f90
stdlib_io_filesystem.f90
stdlib_io_filesystem.F90
stdlib_logger.f90
stdlib_sorting_radix_sort.f90
stdlib_system.F90
Expand All @@ -121,17 +121,6 @@ set(SRC
${outPreprocFiles}
)

# Files that have cpp directives and need to be preprocessed.
set(hasCPP
stdlib_io_filesystem.f90
)

if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
set_source_files_properties(${hasCPP} PROPERTIES COMPILE_FLAGS "-cpp")
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
set_source_files_properties(${hasCPP} PROPERTIES COMPILE_FLAGS "-fpp")
endif()

add_library(${PROJECT_NAME} ${SRC})

set_target_properties(
Expand Down

0 comments on commit 0dcfe43

Please sign in to comment.