From 538c8623049f2398e106fb005cc2dd8ea22b445e Mon Sep 17 00:00:00 2001 From: loki Date: Fri, 17 Jan 2020 15:44:47 +0100 Subject: [PATCH] Fix typo --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 056ecd65..cfcfb36e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,8 +93,8 @@ include_directories( ) list(APPEND SUNSHINE_COMPILE_OPTIONS -fPIC -Wall -Wno-missing-braces -Wno-maybe-uninitialized -Wno-sign-compare) -string(TOUPPER ${CMAKE_BUILD_TYPE} BUILD_TYPE) -if("x${BUILD_TYPE}" STREQUAL "xDEBUG") +string(TOUPPER "x${CMAKE_BUILD_TYPE}" BUILD_TYPE) +if("${BUILD_TYPE}" STREQUAL "XDEBUG") list(APPEND SUNSHINE_COMPILE_OPTIONS -O0 -pedantic -ggdb3) if(WIN32) set_source_files_properties(sunshine/nvhttp.cpp PROPERTIES COMPILE_FLAGS -O2)