From f1b1e7f50c1909b9047d5927712bfab3dc67c275 Mon Sep 17 00:00:00 2001 From: Edgar Date: Fri, 8 Dec 2023 11:24:10 +0100 Subject: [PATCH] :bug: Fixed missing WIN32 definition when building with ninja --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aeff05e104..b3fdbee349 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,7 +349,7 @@ add_definitions(-DGLM_FORCE_CTOR_INIT) if (WIN32) # Deal with fakakta Visual Studo 2017 bug - add_definitions(-DQT_NO_FLOAT16_OPERATORS) + add_definitions(-DQT_NO_FLOAT16_OPERATORS -DWIN32) endif() if (HIFI_USE_OPTIMIZED_IK)