initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
28
libs/wxWidgets-3.3.1/build/cmake/lib/gl/CMakeLists.txt
Normal file
28
libs/wxWidgets-3.3.1/build/cmake/lib/gl/CMakeLists.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#############################################################################
|
||||
# Name: build/cmake/lib/gl/CMakeLists.txt
|
||||
# Purpose: CMake file for gl library
|
||||
# Author: Tobias Taschner
|
||||
# Created: 2016-10-03
|
||||
# Copyright: (c) 2016 wxWidgets development team
|
||||
# Licence: wxWindows licence
|
||||
#############################################################################
|
||||
|
||||
wx_append_sources(GL_FILES OPENGL_CMN)
|
||||
|
||||
if(WXMSW)
|
||||
wx_append_sources(GL_FILES OPENGL_MSW)
|
||||
elseif(WXGTK)
|
||||
wx_append_sources(GL_FILES OPENGL_GTK)
|
||||
elseif(WXOSX_COCOA)
|
||||
wx_append_sources(GL_FILES OPENGL_OSX_COCOA)
|
||||
elseif(WXOSX_IPHONE)
|
||||
wx_append_sources(GL_FILES OPENGL_OSX_IPHONE)
|
||||
elseif(WXQT)
|
||||
wx_append_sources(GL_FILES OPENGL_QT)
|
||||
elseif(WXX11)
|
||||
wx_append_sources(GL_FILES OPENGL_X11)
|
||||
endif()
|
||||
|
||||
wx_add_library(wxgl ${GL_FILES})
|
||||
wx_lib_include_directories(wxgl ${OPENGL_INCLUDE_DIR})
|
||||
wx_lib_link_libraries(wxgl PUBLIC ${OPENGL_LIBRARIES})
|
||||
Reference in New Issue
Block a user