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()