Fixed compiling Stratagus on Mac
This fixed bug: https://bugs.launchpad.net/stratagus/+bug/816573
This commit is contained in:
parent
2a313e217b
commit
3ad80c26dc
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
project(stratagus)
|
project(stratagus)
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
set(STRATAGUS_VERSION 2.2.5.5)
|
set(STRATAGUS_VERSION 2.2.5.5)
|
||||||
|
@ -565,6 +565,7 @@ endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
add_definitions(-DUSE_MAC)
|
add_definitions(-DUSE_MAC)
|
||||||
|
add_definitions(-D__unix)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BSD)
|
if(BSD)
|
||||||
|
|
|
@ -41,8 +41,7 @@ else()
|
||||||
|
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
|
|
||||||
create_search_paths(/Developer/Platforms)
|
|
||||||
findpkg_framework(OpenGLES)
|
|
||||||
set(OPENGLES_GL_LIBRARY "-framework OpenGLES")
|
set(OPENGLES_GL_LIBRARY "-framework OpenGLES")
|
||||||
# TODO: EGL
|
# TODO: EGL
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue