--- a/hedgewars/CMakeLists.txt Wed Aug 14 23:38:35 2019 +0200
+++ b/hedgewars/CMakeLists.txt Thu Aug 15 00:55:57 2019 +0300
@@ -191,6 +191,7 @@
if (WIN32 AND VCPKG_TOOLCHAIN)
add_definitions(-dWIN32_VCPKG)
+ add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-dVCPKG_DEBUG")
endif()
--- a/hedgewars/SDLh.pas Wed Aug 14 23:38:35 2019 +0200
+++ b/hedgewars/SDLh.pas Thu Aug 15 00:55:57 2019 +0300
@@ -56,12 +56,6 @@
type PLongInt = ^LongInt;
{$ENDIF}
-{$IFDEF WIN32_VCPKG}
-{$IFDEF DEBUG}
- {$DEFINE VCPKG_DEBUG}
-{$ENDIF}
-{$ENDIF}
-
(* SDL *)
const
{$IFDEF WINDOWS}