diff --git a/CMakeLists.txt b/CMakeLists.txt index 92dfd40bd12b7c4e82ec8117f20b8b89939a3214..d1a93b36729e0051a00f7d8c1131399c166a25a5 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)