[nostalgia] Add OX_USE_STDLIB setting main CMakeLists.txt

This commit is contained in:
Gary Talent 2018-05-19 01:47:23 -05:00
parent 2b6ffa3c3f
commit d49f35f0f3

View File

@ -53,6 +53,10 @@ if(NOSTALGIA_IDE_BUILD STREQUAL "ON")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
endif()
if(NOT NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
add_definitions(-DOX_USE_STDLIB)
endif()
if(APPLE)
set(CMAKE_MACOSX_RPATH OFF)
set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Library/nostalgia")