Skip to content

Commit d861abf

Browse files
committed
Make the target opencoarrays_test_utilities static
When building with `BUILD_SHARED_LIBS=ON` it will otherwise be build as a shared library but in the function `caf_compile_executable` it is hardcoded as a static library. Thus leading to the build error described in issue #676.
1 parent 964360c commit d861abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/utilities/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ add_library( oc_test_interfaces OBJECT
3535
opencoarrays_object_interface.f90
3636
oc_assertions_interface.F90
3737
)
38-
add_library( opencoarrays_test_utilities
38+
add_library( opencoarrays_test_utilities STATIC
3939
oc_assertions_implementation.F90
4040
$<TARGET_OBJECTS:oc_test_interfaces>
4141
)

0 commit comments

Comments
 (0)