fix compilation in mac with sdl2
This commit is contained in:
parent
af0919e3cf
commit
6a0ee2c9fe
2 changed files with 2 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ target_link_options(zwidget PRIVATE ${ZWIDGET_LINK_OPTIONS})
|
|||
target_link_libraries(zwidget ${ZWIDGET_LIBS})
|
||||
set_target_properties(zwidget PROPERTIES CXX_STANDARD 20)
|
||||
target_compile_options(zwidget PRIVATE ${CXX_WARNING_FLAGS})
|
||||
target_include_directories(zwidget PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||
|
||||
if(MSVC)
|
||||
set_property(TARGET zwidget PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue