Mod aaa-12 添加gtest CMake INSTALL 配置
SOL: 修改人:huangxin 检视人:huangxin
This commit is contained in:
parent
ce81330408
commit
eb5ab12e47
|
@ -46,4 +46,4 @@ ADD_EXECUTABLE(ztp_unit ${ZTPLIB_SRC} ${TEST_SRC})
|
|||
TARGET_LINK_LIBRARIES(ztp_unit gtest_main -lpthread -lcjson -lconfig -lcurl)
|
||||
ADD_TEST(NAME ztp_unit_test COMMAND ztp_unit)
|
||||
|
||||
#INSTALL(TARGETS ztp_unit RUNTIME DESTINATION bin)
|
||||
INSTALL(TARGETS ztp_unit RUNTIME DESTINATION bin)
|
Loading…
Reference in New Issue