From 91b8bb7504dcb2995b5688094ad14fdd96c62645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 28 Nov 2020 12:15:43 +0100 Subject: [PATCH] modules: remove obsolete backwards-compat include dir. No longer needed after all the "GL APIs in root namespace" compatibility got removed. --- modules/FindMagnum.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index 9bfda176c..deadf11f2 100644 --- a/modules/FindMagnum.cmake +++ b/modules/FindMagnum.cmake @@ -344,12 +344,6 @@ if(NOT TARGET Magnum::Magnum) # Include directories set_property(TARGET Magnum::Magnum APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MAGNUM_INCLUDE_DIR}) - # Some deprecated APIs use headers (but not externally defined symbols) - # from the GL library, link those includes as well - if(MAGNUM_BUILD_DEPRECATED AND MAGNUM_TARGET_GL) - set_property(TARGET Magnum::Magnum APPEND PROPERTY - INTERFACE_INCLUDE_DIRECTORIES ${MAGNUM_INCLUDE_DIR}/MagnumExternal/OpenGL) - endif() # Dependent libraries set_property(TARGET Magnum::Magnum APPEND PROPERTY INTERFACE_LINK_LIBRARIES