[nostalgia] Remove overriding of input NOSTALIGA_BUILD_STUDIO setting

This commit is contained in:
Gary Talent 2020-02-09 21:43:56 -06:00
parent c5f0825edb
commit f06806dafd

View File

@ -5,14 +5,13 @@ project(nostalgia)
set(NOSTALGIA_BUILD_TYPE "Native" CACHE STRING "The type of build to produce(Native/GBA)")
set(NOSTALGIA_IDE_BUILD ON CACHE STRING "Build for IDE's to run")
set(NOSTALGIA_QT_PATH "" CACHE STRING "Path to Qt Libraries")
set(NOSTALGIA_BUILD_STUDIO ON CACHE STRING "Build Studio")
set(NOSTALGIA_BUILD_STUDIO ON CACHE BOOL "Build Studio")
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
set(NOSTALGIA_BUILD_STUDIO OFF)
set(OX_BARE_METAL ON)
set(OX_USE_STDLIB OFF)
else()
set(NOSTALGIA_BUILD_STUDIO ON)
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${NOSTALGIA_QT_PATH})
endif()