From 11e5913ec890fa47948e32e1c361e977c94e225f Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Fri, 20 Mar 2020 11:57:11 +0200 Subject: [PATCH] fix build without sgm --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92dfd40bd..d1a93b367 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,6 +120,8 @@ if (WITH_FIXSTARS) add_subdirectory(lib/libsgm) include_directories(lib/libsgm/include) set_property(TARGET sgm PROPERTY FOLDER "dependencies") +else() + add_library(sgm INTERFACE) endif() if (WITH_CERES) -- GitLab