Skip to content

Commit

Permalink
updated apple switch in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
oulap committed Sep 28, 2024
1 parent 94c24bc commit 136b181
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 @@ -62,7 +62,7 @@ endif()
message(STATUS "CMAKE_C_COMPILER=${CMAKE_C_COMPILER}, CMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}, CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}, CMAKE_CXX_COMPILER_ID=${CMAKE_CXX_COMPILER_ID}")

# warnings
if(NOT DEFINED ENV{APPLE_ARM64} OR "$ENV{APPLE_ARM64}" MATCHES "OFF")
if(NOT DEFINED ENV{APPLE})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -Wno-absolute-value -Wno-sign-compare -Wno-write-strings -Wno-unused-result -Wno-unused-parameter")
endif()

Expand Down

0 comments on commit 136b181

Please sign in to comment.