ports/cad/kicad-devel/files/patch-thirdparty_glew_CMakeLists.txt
2023-01-08 17:20:28 +01:00

10 lines
519 B
Text

--- thirdparty/glew/CMakeLists.txt.orig 2022-05-07 15:44:23 +0200
+++ thirdparty/glew/CMakeLists.txt
@@ -5,6 +5,7 @@
# The actual include directories will be added to the global include paths as
# system headers
target_include_directories( glew PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include" )
+target_include_directories( glew SYSTEM PRIVATE "${CMAKE_INSTALL_PREFIX}/include" )
# Definitions for compiling GLEW staticly for EGL (extracted from the main GLEW CMakeLists.txt file)
add_definitions( -DGLEW_STATIC )