Scripts/GorgonConfig.cmake.in

branch
4.x-dev
changeset 1764
e47116c2f9a3
parent 1625
f1512f7188c2
--- a/Scripts/GorgonConfig.cmake.in	Sat Nov 27 15:00:17 2021 +0100
+++ b/Scripts/GorgonConfig.cmake.in	Sat Nov 27 15:02:03 2021 +0100
@@ -114,7 +114,7 @@
 	compilersetup()
 	target_link_libraries(${target} Gorgon)
 	
-	include_directories(${GORGON_INCLUDE_DIRS})
+	target_include_directories(${target} SYSTEM PRIVATE ${GORGON_INCLUDE_DIRS})
 	
     if("@FREETYPE@" STREQUAL "SYSTEM" OR "@FREETYPE@" STREQUAL "BUILTIN")
         set(FREETYPE_INCLUDE_DIRS "@FREETYPE_INCLUDE_DIRS@")

mercurial