mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-18 20:02:17 +03:00
23 lines
634 B
CMake
23 lines
634 B
CMake
|
# FindLibcloudproviders.cmake
|
||
|
|
||
|
find_path(LIBCLOUDPROVIDERS_INCLUDE_DIR
|
||
|
NAMES cloudprovidersproviderexporter.h cloudprovidersaccountexporter.h
|
||
|
PATH_SUFFIXES cloudproviders
|
||
|
)
|
||
|
find_library(LIBCLOUDPROVIDERS_LIBRARY
|
||
|
NAMES
|
||
|
libcloudproviders
|
||
|
cloudproviders
|
||
|
HINTS
|
||
|
/usr/lib
|
||
|
/usr/lib/${CMAKE_ARCH_TRIPLET}
|
||
|
/usr/local/lib
|
||
|
/opt/local/lib
|
||
|
${CMAKE_LIBRARY_PATH}
|
||
|
${CMAKE_INSTALL_PREFIX}/lib
|
||
|
)
|
||
|
|
||
|
message("================> ${LIBCLOUDPROVIDERS_LIBRARY}")
|
||
|
|
||
|
find_package_handle_standard_args(LIBCLOUDPROVIDERS DEFAULT_MSG LIBCLOUDPROVIDERS_INCLUDE_DIR LIBCLOUDPROVIDERS_LIBRARY)
|