diff options
author | Aki <please@ignore.pl> | 2023-01-21 16:22:02 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-21 16:27:19 +0100 |
commit | 4c458e5a75ec4f00cc2c2abba42bf5b41bc6aaab (patch) | |
tree | 0bb2cd162d9bf0c536a5e34b86feddb000ab907b | |
parent | 6ebd267bcf026343c354fb107fb03ba800eb9aca (diff) | |
download | kurator-4c458e5a75ec4f00cc2c2abba42bf5b41bc6aaab.zip kurator-4c458e5a75ec4f00cc2c2abba42bf5b41bc6aaab.tar.gz kurator-4c458e5a75ec4f00cc2c2abba42bf5b41bc6aaab.tar.bz2 |
Added defines for math constants for MinGW-w64
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bea1833..145635f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16) project(kurator) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS No) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -D_USE_MATH_DEFINES") set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") find_package(EnTT 3 REQUIRED) find_package(nlohmann_json 3 REQUIRED) |