Remove redundant CMakeLists code for Linux

This commit is contained in:
Queen Vinyl Da.i'gyu-Kazotetsu 2024-04-27 22:01:01 -07:00 committed by Lane.Wei
parent 7b52c24d60
commit 83cf11fc4b
1 changed files with 0 additions and 5 deletions

View File

@ -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)