Skip to content
Snippets Groups Projects
Commit 0aab6d37 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix the fixstars build

parent b574d185
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28468 passed
...@@ -320,15 +320,6 @@ endif() ...@@ -320,15 +320,6 @@ endif()
endif () endif ()
if (WITH_FIXSTARS)
set(HAVE_LIBSGM true)
add_subdirectory(lib/libsgm)
include_directories(lib/libsgm/include)
set_property(TARGET sgm PROPERTY FOLDER "dependencies")
else()
add_library(sgm INTERFACE)
endif()
# Incase find_package failed, manually look for msgpack # Incase find_package failed, manually look for msgpack
if (NOT MsgPack_FOUND) if (NOT MsgPack_FOUND)
check_include_file_cxx("msgpack.hpp" MSGPACK_FOUND) check_include_file_cxx("msgpack.hpp" MSGPACK_FOUND)
...@@ -441,6 +432,15 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) ...@@ -441,6 +432,15 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
# add_library(nvpipe INTERFACE) # add_library(nvpipe INTERFACE)
#endif() #endif()
if (WITH_FIXSTARS)
set(HAVE_LIBSGM true)
add_subdirectory(lib/libsgm)
include_directories(lib/libsgm/include)
set_property(TARGET sgm PROPERTY FOLDER "dependencies")
else()
add_library(sgm INTERFACE)
endif()
add_subdirectory(components/common/cpp) add_subdirectory(components/common/cpp)
#add_subdirectory(applications/calibration) #add_subdirectory(applications/calibration)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment