Mod aaa-12 添加gtest CMake INSTALL 配置

SOL:
修改人:huangxin
检视人:huangxin
This commit is contained in:
huangxin 2019-12-17 10:06:03 +08:00
parent ce81330408
commit eb5ab12e47
1 changed files with 1 additions and 1 deletions

View File

@ -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)