From 00001a4fb1db6712d4463f86e3682fb376f4894c Mon Sep 17 00:00:00 2001 From: Gliniak <153369+Gliniak@users.noreply.github.com> Date: Fri, 20 Mar 2026 20:23:49 +0100 Subject: [PATCH] [Build] Fixed missing version.h in Visual Studio --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d6f14c6f3..eaa2cf832 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,6 +95,10 @@ if(MSVC) /ignore:4006 # Ignores complaints about empty obj files /ignore:4221 ) + + cmake_path(GET CMAKE_BINARY_DIR PARENT_PATH CMAKE_PARENT_DIR) + include_directories(${CMAKE_PARENT_DIR}) + # Global Windows system libraries link_libraries( ntdll wsock32 ws2_32 xinput comctl32 shcore shlwapi dxguid bcrypt