You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by ms...@apache.org on 2019/05/10 13:43:35 UTC

[plc4x] 06/09: CMakelists with central import of Boost

This is an automated email from the ASF dual-hosted git repository.

msommer pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 1d86db6596fb493666fe0c20da0bf1dff159d5b6
Author: Markus Sommer <ms...@apache.org>
AuthorDate: Fri May 10 15:29:28 2019 +0200

    CMakelists with central import of Boost
---
 plc4cpp/utils/CMakeLists.txt        | 2 ++
 plc4cpp/utils/logger/CMakeLists.txt | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/plc4cpp/utils/CMakeLists.txt b/plc4cpp/utils/CMakeLists.txt
index 557916a..be2e8f8 100644
--- a/plc4cpp/utils/CMakeLists.txt
+++ b/plc4cpp/utils/CMakeLists.txt
@@ -18,3 +18,5 @@
 ]]
 
 add_subdirectory(logger)
+add_subdirectory(systemconfig)
+
diff --git a/plc4cpp/utils/logger/CMakeLists.txt b/plc4cpp/utils/logger/CMakeLists.txt
index eccf20e..8c4a38d 100644
--- a/plc4cpp/utils/logger/CMakeLists.txt
+++ b/plc4cpp/utils/logger/CMakeLists.txt
@@ -34,4 +34,10 @@ add_library(plc4cpp-utils-logger
 #[[
     Import the headers for boost and the plc4cpp-utils module
 ]]
+
+TARGET_LINK_LIBRARIES (plc4cpp-utils-logger ${Boost_LIBRARIES})
+
+
 target_include_directories (plc4cpp-utils-logger PUBLIC target/dependencies/include)
+target_include_directories (plc4cpp-utils-logger PUBLIC ${Boost_INCLUDE_DIRS})
+