summaryrefslogtreecommitdiffstats
path: root/cmake/fastd_module.cmake
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-07 17:53:30 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-07 17:53:30 +0100
commitd971fce38b72c935b58e149ab1f8eb92202e76db (patch)
treebccfa5273d294d0da3aa83fc7d8cb08f6ba4844b /cmake/fastd_module.cmake
parent5cea3ff829b9d3abec56dee7228ee961db52170f (diff)
downloadfastd-d971fce38b72c935b58e149ab1f8eb92202e76db.tar
fastd-d971fce38b72c935b58e149ab1f8eb92202e76db.zip
CMake: really avoid target_include_directories
Diffstat (limited to 'cmake/fastd_module.cmake')
-rw-r--r--cmake/fastd_module.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/fastd_module.cmake b/cmake/fastd_module.cmake
index d1b6d3b..83e68d0 100644
--- a/cmake/fastd_module.cmake
+++ b/cmake/fastd_module.cmake
@@ -28,7 +28,7 @@ function(fastd_module_include_directories type name)
_fastd_module_handle_name()
if(WITH_${TYPE}_${NAME})
- target_include_directories(${type}_${name_} PRIVATE ${ARGN})
+ set_property(TARGET ${type}_${name_} APPEND PROPERTY INCLUDE_DIRECTORIES ${ARGN})
endif(WITH_${TYPE}_${NAME})
endfunction(fastd_module_include_directories)