[Bf-blender-cvs] [a18ad3c3b61] master: CMake: use system include for generated headers

Campbell Barton noreply at git.blender.org
Thu Apr 30 08:02:24 CEST 2020


Commit: a18ad3c3b6198964ab7134302afda1afc89da5f4
Author: Campbell Barton
Date:   Thu Apr 30 16:01:41 2020 +1000
Branches: master
https://developer.blender.org/rBa18ad3c3b6198964ab7134302afda1afc89da5f4

CMake: use system include for generated headers

===================================================================

M	intern/ghost/CMakeLists.txt

===================================================================

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(



More information about the Bf-blender-cvs mailing list