34 lines
827 B
CMake
34 lines
827 B
CMake
![]() |
@PACKAGE_INIT@
|
||
|
include(CMakeFindDependencyMacro)
|
||
|
|
||
|
set_and_check(civetweb_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
|
||
|
set_and_check(civetweb_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
|
||
|
set_and_check(civetweb_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
|
||
|
set(civetweb_LIBRARIES civetweb)
|
||
|
|
||
|
if(@CIVETWEB_ENABLE_CXX@)
|
||
|
set(civetweb-cpp_LIBRARIES civetweb-cpp)
|
||
|
endif()
|
||
|
|
||
|
find_dependency(Threads)
|
||
|
|
||
|
set(CIVETWEB_SAVED_MODULE_PATH ${CMAKE_MODULE_PATH})
|
||
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
||
|
|
||
|
if(@LOOKUP_LIBDL@)
|
||
|
find_dependency(LibDl)
|
||
|
endif()
|
||
|
|
||
|
if(@LOOKUP_LIBRT@)
|
||
|
find_dependency(LibRt)
|
||
|
endif()
|
||
|
|
||
|
if(@LOOKUP_WINSOCK@)
|
||
|
find_dependency(WinSock)
|
||
|
endif()
|
||
|
|
||
|
set(CMAKE_MODULE_PATH ${CIVETWEB_SAVED_MODULE_PATH})
|
||
|
unset(CIVETWEB_SAVED_MODULE_PATH)
|
||
|
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/civetweb-targets.cmake")
|