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)