mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
18 lines
398 B
CMake
18 lines
398 B
CMake
find_path (RESTBED_INCLUDE restbed
|
|
HINTS
|
|
"/usr/include"
|
|
"/usr/local/include"
|
|
"/opt/local/include"
|
|
)
|
|
|
|
if (RESTBED_INCLUDE)
|
|
message(STATUS "${green}Found Restbed: ${RESTBED_INCLUDE}")
|
|
else()
|
|
message(FATAL_ERROR "${red}Failed to locate Restbed.}")
|
|
endif()
|
|
|
|
if (RESTBED_INCLUDE)
|
|
set(RESTBED_FOUND TRUE)
|
|
set(Restbed_LIBRARIES restbed)
|
|
endif()
|