From a18ad3c3b6198964ab7134302afda1afc89da5f4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 30 Apr 2020 16:01:41 +1000 Subject: CMake: use system include for generated headers --- intern/ghost/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'intern/ghost') diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 601f7f58d7f..3ba6c5d48c7 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -293,7 +293,9 @@ elseif(WITH_X11 OR WITH_GHOST_WAYLAND) ) endmacro() - include_directories(${CMAKE_CURRENT_BINARY_DIR}) + list(APPEND INC_SYS + ${CMAKE_CURRENT_BINARY_DIR} + ) # xdg-shell. generate_protocol_bindings( -- cgit v1.2.3