Skip to content

Commit fcbec5a

Browse files
committed
Fix Clang issue for real
- It's the tests that cause the compilation error - I had thought that I tested this locally, but I hadn't.
1 parent aa27f7b commit fcbec5a

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
set(directories_to_build mpi tests)
2-
3-
if( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" )
4-
LIST( APPEND directories_to_build iso-fortran-binding )
5-
endif()
6-
1+
set(directories_to_build mpi tests iso-fortran-binding)
72
foreach(directory ${directories_to_build})
83
add_subdirectory(${directory})
94
endforeach()

src/tests/unit/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ if (${opencoarrays_aware_compiler})
55
add_subdirectory(collectives)
66
add_subdirectory(sync)
77
add_subdirectory(events)
8-
add_subdirectory(iso-fortran-binding)
98
if (gfortran_compiler)
109
if(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7)
1110
add_subdirectory(fail_images)
@@ -17,3 +16,6 @@ if (${opencoarrays_aware_compiler})
1716
else()
1817
add_subdirectory(extensions)
1918
endif()
19+
if( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" )
20+
add_subdirectory(iso-fortran-binding)
21+
endif()

0 commit comments

Comments
 (0)