aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2020-01-07 19:33:11 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 16:26:18 +0100
commit252d47fb4c0d3a69d3fffdf08213e771d61fcad1 (patch)
treed7597f2d255e16837e3cd84c7bdd3c87e2e8d0ad /conf.d/cmake
parent8c27aef5cb195d0f62ea715fc9b1be1c5868d496 (diff)
message: move bit position flag and action
Separate some define to be in a dedicated header file that will be installed on the system. Then the low-can-generator could use it instead of having to copy those defines in the generator code. Change-Id: I1716c8b20f0811ca4ac1e8f13609f05ad7d24d1f Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 7031c7ef..cedb5e3f 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -112,6 +112,8 @@ set(INSTALL_PREFIX $ENV{HOME}/opt)
# -----------------------------
list (APPEND link_libraries -pthread)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
+
# Compilation options definition
# Use CMake generator expressions to specify only for a specific language
# Values are prefilled with default options that is currently used.