Browse Source

Merge pull request #4479 from lioncash/concepts

CMakeLists: Resolve #4478
pull/15/merge
bunnei 5 years ago
committed by GitHub
parent
commit
e8868c2ed1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/CMakeLists.txt

7
src/CMakeLists.txt

@ -60,9 +60,14 @@ else()
-Wmissing-declarations
-Wno-attributes
-Wno-unused-parameter
-fconcepts
)
# TODO: Remove when we update to a GCC compiler that enables this
# by default (i.e. GCC 10 or newer).
if (CMAKE_CXX_COMPILER_ID STREQUAL GNU)
add_compile_options(-fconcepts)
endif()
if (ARCHITECTURE_x86_64)
add_compile_options("-mcx16")
endif()

Loading…
Cancel
Save