cmake: fix pure clang/win32 build
This commit is contained in:
@@ -1296,7 +1296,7 @@ BEGIN
|
|||||||
VALUE "FileDescription", EMU_NAME "\0"
|
VALUE "FileDescription", EMU_NAME "\0"
|
||||||
VALUE "FileVersion", EMU_VERSION "\0"
|
VALUE "FileVersion", EMU_VERSION "\0"
|
||||||
VALUE "InternalName", EMU_NAME "\0"
|
VALUE "InternalName", EMU_NAME "\0"
|
||||||
VALUE "LegalCopyright", "Copyright © 2007-2020 " EMU_NAME " contributors\0"
|
VALUE "LegalCopyright", "Copyright \u00A9 2007-2020 " EMU_NAME " contributors\0"
|
||||||
VALUE "OriginalFilename", "86box.exe\0"
|
VALUE "OriginalFilename", "86box.exe\0"
|
||||||
VALUE "ProductName", EMU_NAME "\0"
|
VALUE "ProductName", EMU_NAME "\0"
|
||||||
VALUE "ProductVersion", EMU_VERSION "\0"
|
VALUE "ProductVersion", EMU_VERSION "\0"
|
||||||
|
@@ -29,12 +29,14 @@ if(MSVC)
|
|||||||
target_compile_definitions(ui PRIVATE NO_INCLUDE_MANIFEST)
|
target_compile_definitions(ui PRIVATE NO_INCLUDE_MANIFEST)
|
||||||
target_sources(86Box PRIVATE 86Box.manifest)
|
target_sources(86Box PRIVATE 86Box.manifest)
|
||||||
|
|
||||||
target_sources(plat PRIVATE win_opendir.c)
|
|
||||||
|
|
||||||
# Append null to resource strings (fixes file dialogs)
|
# Append null to resource strings (fixes file dialogs)
|
||||||
set_property(SOURCE 86Box.rc PROPERTY COMPILE_FLAGS -n)
|
set_property(SOURCE 86Box.rc PROPERTY COMPILE_FLAGS -n)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT MINGW)
|
||||||
|
target_sources(plat PRIVATE win_opendir.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(DINPUT)
|
if(DINPUT)
|
||||||
target_sources(plat PRIVATE win_joystick.cpp)
|
target_sources(plat PRIVATE win_joystick.cpp)
|
||||||
target_link_libraries(86Box dinput8)
|
target_link_libraries(86Box dinput8)
|
||||||
|
Reference in New Issue
Block a user