mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 15:25:07 +00:00
CMake: don't hardcode "<prefix>/include" in target_include_directories
This commit is contained in:
parent
3f922b3dc6
commit
966e53fa15
@ -176,7 +176,7 @@ if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
else()
|
||||
target_compile_definitions(glew_s INTERFACE "GLEW_STATIC")
|
||||
foreach(t glew glew_s)
|
||||
target_include_directories(${t} PUBLIC $<INSTALL_INTERFACE:include>)
|
||||
target_include_directories(${t} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
||||
endforeach()
|
||||
set(MAYBE_EXPORT EXPORT glew-targets)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user