updata cmakelists
This commit is contained in:
parent
06e1133421
commit
23ac4af9ab
@ -150,7 +150,11 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -fstack-check")
|
||||
#忽略多重定引用
|
||||
target_link_options(${PROJECT_NAME} PUBLIC -Wl,--allow-multiple-definition)
|
||||
target_link_libraries(
|
||||
${PROJECT_NAME} PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Network
|
||||
${LIBGIT2_STATIC_LIBRARIES} -lwinhttp -lpcre.dll -lcrypto -lssl -lz
|
||||
${CURL_LINK_LIBRARIES}
|
||||
${PROJECT_NAME} PRIVATE ${LIBGIT2_STATIC_LIBRARIES} -lwinhttp -lpcre.dll -lcrypto -lssl -lz
|
||||
)
|
||||
target_link_libraries(
|
||||
${PROJECT_NAME} PRIVATE ${CURL_LINK_LIBRARIES}
|
||||
)
|
||||
target_link_libraries(
|
||||
${PROJECT_NAME} PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Network
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user