diff options
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 00247dc..a9ca13d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,8 +38,6 @@ target_compile_definitions(cheesemap target_compile_options(cheesemap PRIVATE -Wall -Wextra -Werror - -std=gnu11 - -fPIC $<$<BOOL:${CM_ENABLE_EXTENDED_DEBUG}>:-g3> $<$<BOOL:${CM_ENABLE_UBSAN}>:-fsanitize=undefined> @@ -47,6 +45,12 @@ target_compile_options(cheesemap $<$<BOOL:${CM_ENABLE_SSE2}>:-msse2> ) +set_target_properties(cheesemap PROPERTIES + C_STANDARD 11 + C_STANDARD_REQUIRED ON + C_EXTENSIONS ON +) + ## configuration summary message(STATUS "cheesemap configuration:") |
