Skip to content

Commit

Permalink
Remove no-longer-needed -pthread argument from Clang and GCC CMAKE_CX…
Browse files Browse the repository at this point in the history
…X_FLAGS
  • Loading branch information
NeilJustice committed Dec 30, 2024
1 parent ad3dd3c commit a174893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(FileArb)
include(${CMAKE_SOURCE_DIR}/CMakeMacros.cmake)

if(UNIX)
set(CMAKE_CXX_FLAGS "-std=c++2b -Wall -Wextra -pedantic -Werror -pthread -Wno-deprecated-copy")
set(CMAKE_CXX_FLAGS "-std=c++2b -Wall -Wextra -pedantic -Werror -Wno-deprecated-copy")
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
append(CMAKE_CXX_FLAGS "-Wno-gnu-zero-variadic-macro-arguments")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
Expand Down

0 comments on commit a174893

Please sign in to comment.