1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
include(CMakeFindDependencyMacro)
if(@CPPREST_USES_ZLIB@)
find_dependency(ZLIB)
endif()
if(@CPPREST_USES_BROTLI@)
find_dependency(unofficial-brotli)
endif()
if(@CPPREST_USES_OPENSSL@)
find_dependency(OpenSSL)
endif()
if(@CPPREST_USES_WINHTTPPAL@)
find_dependency(WINHTTPPAL)
endif()
if(@CPPREST_USES_BOOST@)
if(UNIX)
find_dependency(Boost COMPONENTS random system thread filesystem chrono atomic date_time regex)
else()
find_dependency(Boost COMPONENTS system date_time regex)
endif()
endif()
include("${CMAKE_CURRENT_LIST_DIR}/cpprestsdk-targets.cmake")
|