fix the CI failure

This commit is contained in:
Chen 2020-11-16 11:34:12 +08:00
parent d6152a06ea
commit 6515246e2d
2 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ if(BUILD_SHARED_LIBS)
else()
add_definitions(-DJSON_DLL)
endif()
target_link_libraries(jsontestrunner_exe jsoncpp_lib)
target_link_libraries(jsontestrunner_exe JSONCPP_lib)
else()
target_link_libraries(jsontestrunner_exe jsoncpp_static)
target_link_libraries(jsontestrunner_exe JSONCPP_static)
endif()
set_target_properties(jsontestrunner_exe PROPERTIES OUTPUT_NAME jsontestrunner_exe)

View File

@ -15,9 +15,9 @@ if(BUILD_SHARED_LIBS)
else()
add_definitions( -DJSON_DLL )
endif()
target_link_libraries(jsoncpp_test jsoncpp_lib)
target_link_libraries(jsoncpp_test JSONCPP_lib)
else()
target_link_libraries(jsoncpp_test jsoncpp_static)
target_link_libraries(jsoncpp_test JSONCPP_static)
endif()
# another way to solve issue #90