Skip to content

Commit dca3799

Browse files
committed
prevent compilation errors by stoping line truncation
1 parent d168a06 commit dca3799

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

episodes/5-testing-parallel-code/challenge/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ project(
88
DESCRIPTION "Conway's game of life"
99
)
1010

11+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffree-line-length-none")
12+
1113
# OpenMP
1214
find_package(OpenMP)
1315
find_package(MPI COMPONENTS Fortran REQUIRED)

episodes/5-testing-parallel-code/challenge/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
find_package(PFUNIT REQUIRED)
22
enable_testing()
33

4-
set(CMAKE_Fortran_FLAGS "-fopenmp")
4+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fopenmp")
55

66
# Ensure test data is available at runtime
77
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test")

0 commit comments

Comments
 (0)