Scripts/GorgonConfig.cmake.in

branch
4.x-dev
changeset 1764
e47116c2f9a3
parent 1625
f1512f7188c2
equal deleted inserted replaced
1763:8f288778ac0e 1764:e47116c2f9a3
112 112
113 MACRO(linkgorgon target) 113 MACRO(linkgorgon target)
114 compilersetup() 114 compilersetup()
115 target_link_libraries(${target} Gorgon) 115 target_link_libraries(${target} Gorgon)
116 116
117 include_directories(${GORGON_INCLUDE_DIRS}) 117 target_include_directories(${target} SYSTEM PRIVATE ${GORGON_INCLUDE_DIRS})
118 118
119 if("@FREETYPE@" STREQUAL "SYSTEM" OR "@FREETYPE@" STREQUAL "BUILTIN") 119 if("@FREETYPE@" STREQUAL "SYSTEM" OR "@FREETYPE@" STREQUAL "BUILTIN")
120 set(FREETYPE_INCLUDE_DIRS "@FREETYPE_INCLUDE_DIRS@") 120 set(FREETYPE_INCLUDE_DIRS "@FREETYPE_INCLUDE_DIRS@")
121 endif() 121 endif()
122 ENDMACRO() 122 ENDMACRO()

mercurial