Skip to content

Commit

Permalink
Adding easylogging build and include
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Feb 9, 2021
1 parent f0b3abe commit 264f857
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions unit-tests/hdr/test-hdr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
#include "../catch.h"
#include "../unit-tests-common.h"

#include <easylogging++.h>
#ifdef BUILD_SHARED_LIBS
// With static linkage, ELPP is initialized by librealsense, so doing it here will
// create errors. When we're using the shared .so/.dll, the two are separate and we have
// to initialize ours if we want to use the APIs!
INITIALIZE_EASYLOGGINGPP
#endif

using namespace rs2;

Expand Down

0 comments on commit 264f857

Please sign in to comment.