Skip to content

Commit 36327da

Browse files
authored
Merge pull request #15120 from JakeOShannessy/cmake-correction
cmake: correct setting of -no-wrap-margin
2 parents 4130f0e + d0e20b2 commit 36327da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel" OR CMAKE_Fortran_COMPILER_ID S
127127
endif()
128128
# When compiling with Intel and not on Windows apply -no-wrap-margin.
129129
if (NOT(WIN32))
130-
target_compile_definitions(fds PRIVATE -no-wrap-margin)
130+
target_compile_options(fds PRIVATE -no-wrap-margin)
131131
endif()
132132
endif()
133133

0 commit comments

Comments
 (0)