2023-07-21 10:47:31 +08:00
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
|
|
|
|
project(Kylin)
|
|
|
|
|
2023-08-01 13:54:17 +08:00
|
|
|
set(OpenSSL_LIBRARY ssl crypto)
|
|
|
|
|
2023-07-21 14:07:27 +08:00
|
|
|
|
2023-12-03 23:42:58 +08:00
|
|
|
if(TARGET Boost::serialization)
|
|
|
|
add_subdirectory(Encrypt)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(TARGET Boost::url)
|
|
|
|
add_subdirectory(HttpProxy)
|
|
|
|
endif()
|
|
|
|
|
2023-12-07 19:46:15 +08:00
|
|
|
if(TARGET Qt${QT_VERSION_MAJOR}::Core)
|
|
|
|
add_subdirectory(QtComponets)
|
|
|
|
endif()
|
2023-12-03 23:42:58 +08:00
|
|
|
|
|
|
|
if(TARGET Boost::log)
|
|
|
|
add_subdirectory(Universal)
|
|
|
|
endif()
|