From e1e0af5f8139ec57aacf1ce252516fcffca78d49 Mon Sep 17 00:00:00 2001 From: scribam Date: Wed, 2 May 2018 20:29:38 +0200 Subject: [PATCH] cmake: remove unused "CMAKE_BUILD" definition It was introduced in commit 855d693 and used in the file rpcs3/Gui/GLGSFrame.cpp (wxWidgets) which doesn't exist anymore. --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6917886d33..cc2283f8d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,8 +26,6 @@ if (CCACHE_FOUND) set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) endif() -add_definitions(-DCMAKE_BUILD) - # We use libpng's static library and don't need to build the shared library and run the tests set(PNG_SHARED OFF CACHE BOOL "Build shared lib." FORCE) set(PNG_TESTS OFF CACHE BOOL "Build tests." FORCE)