Skip to content

Commit

Permalink
Enable Fortran when using OpenFAST. (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Mar 26, 2024
1 parent 7645bdc commit ada9e37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ if(ENABLE_OPENFAST_FSI)
endif()
if(ENABLE_OPENFAST)
set(CMAKE_PREFIX_PATH ${OpenFAST_DIR} ${CMAKE_PREFIX_PATH})
enable_language(Fortran)
find_package(OpenFAST QUIET REQUIRED)
message(STATUS "Found OpenFAST = ${OpenFAST_LIBRARY_DIRS}")
target_link_libraries(nalu PUBLIC ${OpenFAST_LIBRARIES} ${OpenFAST_CPP_LIBRARIES})
Expand Down

0 comments on commit ada9e37

Please sign in to comment.