diff options
author | 浅倉麗子 | 2020-05-05 11:47:37 -0400 |
---|---|---|
committer | 浅倉麗子 | 2020-05-05 11:47:37 -0400 |
commit | 6207851846d54a45690112a79e7108e9ea9dd054 (patch) | |
tree | 3503bc91002eaa653f9d9318cbda62a2da02aae6 | |
parent | Add "Enable Full HD" feature (diff) | |
download | sharpscale-6207851846d54a45690112a79e7108e9ea9dd054.tar.gz |
Prevent double promotion
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d6f428..3c2456d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ include("$ENV{DOLCESDK}/share/dolce.cmake" REQUIRED) project(sharpscale LANGUAGES C) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -O3 -std=c99") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -O3 -std=c99 -Wdouble-promotion -fsingle-precision-constant") if(LOG_PRINTF) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DLOG_PRINTF") |