From dfdfc7fd8e45c52f3a185830ed7627bfb22dfcd2 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 17 Apr 2021 21:04:31 -0300 Subject: [PATCH] Compile win_opendir on MSVC --- src/win/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win/CMakeLists.txt b/src/win/CMakeLists.txt index 1588a4d7e..9f8bbea2b 100644 --- a/src/win/CMakeLists.txt +++ b/src/win/CMakeLists.txt @@ -28,6 +28,8 @@ if(MSVC) # file when using MSVC, so we might just as well do that! target_compile_definitions(ui PRIVATE NO_INCLUDE_MANIFEST) target_sources(86Box PRIVATE 86Box.manifest) + + target_sources(plat PRIVATE win_opendir.c) endif() if(DINPUT)