ports/cad/kicad-devel/files/patch-thirdparty_glew_CMakeLists.txt
Michael Reifenberger 332ec562da cad/kicad-devel: Update to the current commits
State as of 2024.04.03 13:56:43
2024-04-04 11:27:58 +02:00

10 lines
578 B
Text

--- thirdparty/glew/CMakeLists.txt.orig 2024-03-23 15:52:10 UTC
+++ thirdparty/glew/CMakeLists.txt
@@ -5,6 +5,7 @@ target_include_directories( glew PRIVATE "${CMAKE_CURR
# 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_compile_definitions( GLEW_STATIC )