From 948e76d1327ec60a857e088bf6e995e9f4b6f841 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Thu, 13 Apr 2023 02:57:54 -0400 Subject: [PATCH] fix: add __WIN32 to cmake definitions --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aacbe00a..66f35431 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,8 @@ if(LINUX) endif() if(MSVC) - add_compile_definitions(NO_EPWING_SUPPORT) + add_compile_definitions(NO_EPWING_SUPPORT + __WIN32) endif() #### Sources Files