Skip to content

Commit 6515246

Browse files
committed
fix the CI failure
1 parent d6152a0 commit 6515246

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/jsontestrunner/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ if(BUILD_SHARED_LIBS)
1919
else()
2020
add_definitions(-DJSON_DLL)
2121
endif()
22-
target_link_libraries(jsontestrunner_exe jsoncpp_lib)
22+
target_link_libraries(jsontestrunner_exe JSONCPP_lib)
2323
else()
24-
target_link_libraries(jsontestrunner_exe jsoncpp_static)
24+
target_link_libraries(jsontestrunner_exe JSONCPP_static)
2525
endif()
2626

2727
set_target_properties(jsontestrunner_exe PROPERTIES OUTPUT_NAME jsontestrunner_exe)

src/test_lib_json/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ if(BUILD_SHARED_LIBS)
1515
else()
1616
add_definitions( -DJSON_DLL )
1717
endif()
18-
target_link_libraries(jsoncpp_test jsoncpp_lib)
18+
target_link_libraries(jsoncpp_test JSONCPP_lib)
1919
else()
20-
target_link_libraries(jsoncpp_test jsoncpp_static)
20+
target_link_libraries(jsoncpp_test JSONCPP_static)
2121
endif()
2222

2323
# another way to solve issue #90

0 commit comments

Comments
 (0)