1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00
subsurface/cmake/Modules/HandleFindLibDiveComputer.cmake

8 lines
220 B
CMake
Raw Normal View History

if(LIBDC_FROM_PKGCONFIG)
pkg_config_library(LIBDC libdivecomputer REQUIRED)
set(LIBDIVECOMPUTER_LIBRARIES "")
else()
find_package(Libdivecomputer REQUIRED)
include_directories(${LIBDIVECOMPUTER_INCLUDE_DIR})
endif()