Skip to content

Commit fd873e9

Browse files
Merge pull request #411 from nexusformat/stuartcampbell-patch-1
��Fix for user specifying �CMAKE_Fortran_FLAGS. Looks good for me.
2 parents 8daa971 + 0acfebe commit fd873e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ message(STATUS "Link with: ${NAPI_LINK_LIBS}")
193193
if(ENABLE_FORTRAN90 OR ENABLE_FORTRAN77)
194194
enable_language(Fortran)
195195

196-
set(CMAKE_Fortran_FLAGS ${CMAKE_Fortran_FLAGS} "-Wall -fbacktrace -pedantic -fcheck=all -Wextra")
196+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Wall -fbacktrace -pedantic -fcheck=all -Wextra")
197197
message(STATUS ${CMAKE_Fortran_FLAGS})
198198
endif()
199199

0 commit comments

Comments
 (0)