diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-04-12 08:08:59 +0200 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-04-12 08:09:45 +0200 |
| commit | 676e82fd11f7bab138a7ff64e7e3bc38bddb85ea (patch) | |
| tree | 43922395a62955cc2475e7588bed9d355f3867fb | |
| parent | 3ae5fe09bdb0b3960b50f9b9c27d4c0fa947f624 (diff) | |
use more portable
| -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:") |
