mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-18 05:13:04 +01:00
Fix missing -ObjC flag.
This commit is contained in:
committed by
Joshua Brookover
parent
8eb363a378
commit
c3f52fd76e
@@ -16,6 +16,9 @@ set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if( APPLE and NOT IOS )
|
||||
set( CMAKE_CXX_FLAGS "-ObjC++" )
|
||||
endif()
|
||||
|
||||
option( BGFX_BUILD_TOOLS "Build bgfx tools." ON )
|
||||
option( BGFX_BUILD_EXAMPLES "Build bgfx examples." ON )
|
||||
|
||||
Reference in New Issue
Block a user