From 83cf11fc4b947aa70b5dc37c97c407cd1d9c9aad Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sat, 27 Apr 2024 22:01:01 -0700 Subject: [PATCH] Remove redundant CMakeLists code for Linux --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7633676ef..9a4afb9e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -207,11 +207,6 @@ endif () if (CMAKE_SYSTEM_NAME STREQUAL "Linux") find_package(PkgConfig REQUIRED) - if (CMAKE_VERSION VERSION_LESS "3.1") - # Workaround for an old CMake, which does not understand CMAKE_CXX_STANDARD. - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - endif() - # Boost on Raspberry-Pi does not link to pthreads. set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED)