add "sdl_cfg.lua" windows definition to libocore

This commit is contained in:
CharlesThobe 2022-01-06 06:15:17 +02:00
parent 36a7523121
commit 3068ce1e68

View File

@ -1,4 +1,16 @@
#ocore_sdl
#dofile("sdl_cfg.lua")
if(WIN32)
add_compile_definitions(
UNICODE
_UNICODE
_WIN32_WINNT=0x0501
WIN32_LEAN_AND_MEAN
NOMINMAX
)
endif()
include_directories(
${CMAKE_SOURCE_DIR}/src/emu
${CMAKE_SOURCE_DIR}/src/osd