Patch taken from OpenBSD, by Johannes Thyssen Tishman. PR: 277310 Approved by: maintainer’s time-out
11 lines
572 B
Plaintext
11 lines
572 B
Plaintext
--- thirdparty/glew/CMakeLists.txt.orig 2023-04-13 20:27:39 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_definitions( -DGLEW_STATIC )
|