From a9f0793e6939f92494845a853dc384e22068859d Mon Sep 17 00:00:00 2001 From: Daniel Emminizer Date: Fri, 25 Aug 2017 09:04:05 -0400 Subject: [PATCH] SETUP_EXE in CMake now uses same define for including the GLCORE headers as SETUP_LIBRARY and SETUP_PLUGIN. Fixes Windows build errors for applications. --- CMakeModules/OsgMacroUtils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/OsgMacroUtils.cmake b/CMakeModules/OsgMacroUtils.cmake index 12dd9a882..4ef1ce135 100644 --- a/CMakeModules/OsgMacroUtils.cmake +++ b/CMakeModules/OsgMacroUtils.cmake @@ -361,7 +361,7 @@ ENDMACRO(SETUP_PLUGIN) MACRO(SETUP_EXE IS_COMMANDLINE_APP) #MESSAGE("in -->SETUP_EXE<-- ${TARGET_NAME}-->${TARGET_SRC} <--> ${TARGET_H}<--") - IF(GL3_FOUND) + IF(GLCORE_FOUND) INCLUDE_DIRECTORIES( ${GLCORE_INCLUDE_DIR} ) ENDIF()