Skip to content

Commit 6dab75e

Browse files
committed
[SPEC] Use llvm_test_library instead of add_library for the cam4_netcdf target of 527.cam4_r
Similar to #238.
1 parent 2e8c8d9 commit 6dab75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

External/SPEC/CFP2017rate/527.cam4_r/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if (NOT TARGET cam4_netcdf)
5555
"${SRC_DIR}/spec_qsort/spec_qsort.c")
5656
list(REMOVE_ITEM netcdf_sources "${SRC_DIR}/netcdf/ncio.c")
5757

58-
add_library(cam4_netcdf OBJECT ${netcdf_sources})
58+
llvm_test_library(cam4_netcdf OBJECT ${netcdf_sources})
5959
target_compile_definitions(cam4_netcdf PRIVATE SPEC)
6060
endif ()
6161

0 commit comments

Comments
 (0)