From 69f918664d279969ea3f0f274cca31a011b4fec9 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 17 Jul 2019 22:58:56 -0500 Subject: [PATCH] [nostalgia] Cleanup CMake ON/OFF switches --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f8459305..238c6ded 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12) 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_IDE_BUILD ON CACHE STRING "Build for IDE's to run") set(NOSTALGIA_QT_PATH "" CACHE STRING "Path to Qt Libraries") if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA") @@ -76,7 +76,7 @@ if(NOT MSVC) endif() endif() -if(NOSTALGIA_IDE_BUILD STREQUAL "ON") +if(NOSTALGIA_IDE_BUILD) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) endif()