From 191334415c38f0a1d970641f0d54f9b5cd87235a Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Tue, 31 May 2022 17:53:13 +0800 Subject: [PATCH] added _USE_MATH_DEFINES at QtCommon.cmake --- QtCommon.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/QtCommon.cmake b/QtCommon.cmake index 3bd187c..081b359 100644 --- a/QtCommon.cmake +++ b/QtCommon.cmake @@ -82,4 +82,6 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets) set(CMAKE_INCLUDE_CURRENT_DIR ON) # Set additional project information set(COMPANY "hyzgame.com") -set(COPYRIGHT "Copyright (c) 1997-2020 hyzgame.com. All rights reserved.") +set(COPYRIGHT "Copyright (c) 1997-2022 hyzgame.com. All rights reserved.") + +add_definitions(-D_USE_MATH_DEFINES)