From d49f35f0f3448bd0fd93ca94212dcda92d22ab8f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 19 May 2018 01:47:23 -0500 Subject: [PATCH] [nostalgia] Add OX_USE_STDLIB setting main CMakeLists.txt --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 47cb7dac..7b2b9325 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")