mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +00:00
t/gui: Fix linking on Windows
This commit is contained in:
parent
147dcc24e0
commit
883fe27aed
|
@ -29,6 +29,10 @@ target_link_libraries(gui PRIVATE
|
||||||
imgui_impl_sdl
|
imgui_impl_sdl
|
||||||
${SDL2_LIBRARIES}
|
${SDL2_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
if(WIN32)
|
||||||
|
target_link_libraries(gui PRIVATE SDL2::SDL2main)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(gui PRIVATE
|
target_include_directories(gui PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||||
${SDL2_INCLUDE_DIRS}
|
${SDL2_INCLUDE_DIRS}
|
||||||
|
|
Loading…
Reference in a new issue