Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ofmla committed Feb 27, 2024
1 parent 4f17e79 commit bcca74a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
# Set compiler flags based on build type
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}}")

# Set the directory where Fortran module files will be placed
set(CMAKE_Fortran_MODULE_DIRECTORY ${PROJECT_BINARY_DIR}/modules)

find_package(PkgConfig REQUIRED)
pkg_search_module(LIBRARY_NAME REQUIRED SPERR)

Expand Down

0 comments on commit bcca74a

Please sign in to comment.