Last active
October 24, 2016 18:41
-
-
Save iche033/b73766fac9ab3d628a79b5ed986677cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 108ab0bcc696 CMake/Dependencies.cmake | |
--- a/CMake/Dependencies.cmake Fri Jul 15 02:11:59 2016 +0200 | |
+++ b/CMake/Dependencies.cmake Mon Oct 24 11:20:07 2016 -0700 | |
@@ -126,6 +126,8 @@ | |
macro_log_feature(DirectX11_FOUND "DirectX11" "Support for the DirectX11 render system" "http://msdn.microsoft.com/en-us/directx/" FALSE "" "") | |
endif() | |
+findpkg_framework(AGL) | |
+ | |
####################################################################### | |
# Additional features | |
####################################################################### | |
diff -r 108ab0bcc696 RenderSystems/GL/CMakeLists.txt | |
--- a/RenderSystems/GL/CMakeLists.txt Fri Jul 15 02:11:59 2016 +0200 | |
+++ b/RenderSystems/GL/CMakeLists.txt Mon Oct 24 11:20:07 2016 -0700 | |
@@ -96,7 +96,7 @@ | |
#Note that in the next row SOURCE_FILES are added last. This is to prevent compilation problems of unity build found on Windows Visual Studio. | |
#In this situation any file added after the "glew.cpp" file, which belongs to the SOURCE_FILES package, does not compile | |
ogre_add_library(RenderSystem_GL ${OGRE_LIB_TYPE} ${HEADER_FILES} ${GLSL_SOURCE} ${ATIFS_SOURCE} ${NVPARSE_SOURCE} ${PLATFORM_HEADERS} ${PLATFORM_SOURCES} ${SOURCE_FILES}) | |
-target_link_libraries(RenderSystem_GL OgreMain ${OPENGL_LIBRARIES} ${PLATFORM_LIBS}) | |
+target_link_libraries(RenderSystem_GL OgreMain ${OPENGL_LIBRARIES} ${AGL_LIBRARY_FWK} ${PLATFORM_LIBS}) | |
if (NOT OGRE_STATIC) | |
set_target_properties(RenderSystem_GL PROPERTIES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment