mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
allows new C++ standard features
This commit is contained in:
parent
b4f2b04241
commit
8300646b33
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,12 @@ set(PORTAUDIO_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/portaudio)
|
|||
|
||||
project(interface)
|
||||
|
||||
# ++ C++ version
|
||||
if (NOT MSVC)
|
||||
# msvc defaults to latest version
|
||||
add_definitions("-std=c++0x")
|
||||
endif (NOT MSVC)
|
||||
|
||||
if (APPLE)
|
||||
# link in required OS X frameworks and include the right GL headers
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework CoreServices -framework Carbon -framework GLUT")
|
||||
|
|
Loading…
Reference in a new issue