summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2019-04-01 17:14:32 -0400
committerGitHub <noreply@github.com>2019-04-01 17:14:32 -0400
commit1265fce0ec352f4a2a65709960696a77bd4e68fb (patch)
treef641a39bc9e679eb7d7ba8b79734491ebe4dc455
parentabdfa1d970c9d965a1f05d0b26fa3b8d350bb265 (diff)
parent8f2e4e39cb35c3aeeca1c5c647a8335a803ea707 (diff)
downloadsdl_core-1265fce0ec352f4a2a65709960696a77bd4e68fb.tar.gz
Merge pull request #2870 from smartdevicelink/fix/3rd_party_dependencies
Fix missing 3rd-party dependencies in CMake files
-rw-r--r--src/appMain/CMakeLists.txt1
-rw-r--r--src/appMain/main.cc2
-rw-r--r--src/components/protocol_handler/CMakeLists.txt1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/appMain/CMakeLists.txt b/src/appMain/CMakeLists.txt
index fe9a6af3f7..d543280d75 100644
--- a/src/appMain/CMakeLists.txt
+++ b/src/appMain/CMakeLists.txt
@@ -76,6 +76,7 @@ include_directories(
# Create object library
add_library("LowVoltageHandlerObjLibrary" OBJECT ${CMAKE_CURRENT_SOURCE_DIR}/low_voltage_signals_handler.cc
)
+add_dependencies("LowVoltageHandlerObjLibrary" Boost)
set (SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/main.cc
diff --git a/src/appMain/main.cc b/src/appMain/main.cc
index 752cfb7bb9..4e91b91216 100644
--- a/src/appMain/main.cc
+++ b/src/appMain/main.cc
@@ -43,7 +43,9 @@
// ----------------------------------------------------------------------------
+#ifdef ENABLE_LOG
#include "utils/log_message_loop_thread.h"
+#endif // ENABLE_LOG
#include "utils/logger.h"
#include "appMain/life_cycle_impl.h"
diff --git a/src/components/protocol_handler/CMakeLists.txt b/src/components/protocol_handler/CMakeLists.txt
index ff8678b826..ed3aaaf24c 100644
--- a/src/components/protocol_handler/CMakeLists.txt
+++ b/src/components/protocol_handler/CMakeLists.txt
@@ -65,6 +65,7 @@ endforeach()
add_library(ProtocolHandler ${SOURCES})
+add_dependencies(ProtocolHandler libbson)
target_link_libraries(ProtocolHandler ${LIBRARIES})
if(BUILD_TESTS)