mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
8 lines
220 B
CMake
8 lines
220 B
CMake
|
if(LIBDC_FROM_PKGCONFIG)
|
||
|
pkg_config_library(LIBDC libdivecomputer REQUIRED)
|
||
|
set(LIBDIVECOMPUTER_LIBRARIES "")
|
||
|
else()
|
||
|
find_package(Libdivecomputer REQUIRED)
|
||
|
include_directories(${LIBDIVECOMPUTER_INCLUDE_DIR})
|
||
|
endif()
|