Add -fconcepts for GCC.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
103c703208
commit
939fee3f50
|
@ -11,6 +11,10 @@ option(SHARED "Whether we should build a shared library, instead of a static one
|
||||||
option(TESTS "Whether the test executable should be build as well." OFF)
|
option(TESTS "Whether the test executable should be build as well." OFF)
|
||||||
option(STATICC "Whether gcc and stdc++ should be linked statically to the library." OFF)
|
option(STATICC "Whether gcc and stdc++ should be linked statically to the library." OFF)
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
add_compile_options(-fconcepts)
|
||||||
|
endif ()
|
||||||
|
|
||||||
include(CmakeConanSetup.cmake)
|
include(CmakeConanSetup.cmake)
|
||||||
SetupConan()
|
SetupConan()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue