From d971fce38b72c935b58e149ab1f8eb92202e76db Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 7 Nov 2013 17:53:30 +0100 Subject: CMake: really avoid target_include_directories --- cmake/fastd_module.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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) -- cgit v1.2.3