Skip to content

Commit

Permalink
part1
Browse files Browse the repository at this point in the history
  • Loading branch information
even1024 committed Nov 25, 2023
1 parent 21e5cf3 commit f008bfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ if (EMSCRIPTEN)
set(CMAKE_C_FLAGS_DEBUG "-g3")
endif()

if (APPLE)
string(APPEND CMAKE_CXX_FLAGS " -Wdeprecated-register")
endif()

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

# Compile flags
Expand Down

0 comments on commit f008bfe

Please sign in to comment.