m2b-gd-tp10/external/DGtal/CMakeLists.txt
ccolin efec18499f fix compilation
i am absolutely filled with anger at how much time this took. stop
using build systems other than cmake. stop using cmake as if it was
2004. stop making languages without a proper, standardized and
enforced way to package projects.
2022-01-09 17:04:24 +01:00

17 lines
420 B
CMake

cmake_minimum_required(VERSION 3.15)
include(FetchContent)
set(WITH_QGLVIEWER true CACHE INTERNAL "")
set(WITH_QT5 true CACHE INTERNAL "")
set(BUILD_EXAMPLES OFF CACHE INTERNAL "")
FetchContent_Declare(
DGtal
URL https://github.com/DGtal-team/DGtal/archive/refs/tags/1.2.tar.gz
URL_HASH MD5=19e443ca4f3927c9b9eff742cdfa138f)
FetchContent_MakeAvailable(DGtal)
target_link_libraries(DGtal PRIVATE libQGLViewer)