From c679fe1fc873d4f72d9cdd59048024bfb17059fb Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 3 Mar 2021 00:00:23 -0800 Subject: [PATCH] Build: Remove force include CMake line. This reverts commit e29bb7bcdfbb1a966371f5d6cc6ecd0301f88735. --- CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a8ca198d0..db6760b140 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -305,14 +305,7 @@ if(NOT MSVC) set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Os -D_NDEBUG") set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -D_NDEBUG") set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -O2 -g -D_NDEBUG") - #TODO: Remove this and include the file properly everywhere it makes sense - # First step is too use the macros everywhere - # Second step is to remove the compatibility defines - # Third step is to include the file - # Fourth step is to remove that line! - if(NOT IOS) - add_compile_options(-include ${CMAKE_CURRENT_SOURCE_DIR}/ppsspp_config.h) - endif() + # Disable some warnings add_definitions(-Wno-multichar) add_definitions(-Wno-deprecated-register)