Skip to content

Commit

Permalink
driver: Moved to using boost::dll for plugin imports
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Vorobiov <[email protected]>
  • Loading branch information
Oleg Vorobiov committed Aug 3, 2022
1 parent 3bfcd68 commit 21a7269
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ target_link_libraries(${TARGET_NAME}
shoom
lazy_sockets
-lstdc++fs
-lboost_system -lboost_filesystem
${Boost_LIBRARIES}
${Boost_DLL_LIBRARY}
${CMAKE_DL_LIBS}
)

Expand Down
2 changes: 1 addition & 1 deletion driver/gaze_master_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ target_include_directories(gaze_logger PRIVATE
)

target_link_libraries(gaze_logger PRIVATE
${Boost_LIBRARIES}
${Boost_DLL_LIBRARy}
${CMAKE_DL_LIBS}
)

Expand Down
2 changes: 1 addition & 1 deletion driver/gaze_master_plugins/src/plugin.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <boost/dll/alias.hpp> // for BOOST_DLL_ALIAS
#include <boost/dll.hpp>

#if !defined(WIN) && !defined(LINUX)
#error "incorrect setup"
Expand Down
3 changes: 1 addition & 2 deletions driver/src/addons.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
#include <utility>
#include <vector>

#include <boost/filesystem.hpp>
#include <boost/dll.hpp> // for import_alias
#include <filesystem>
#include <boost/dll.hpp>

// #include <shoom.h>

Expand Down

0 comments on commit 21a7269

Please sign in to comment.