CMake: Check for libSDL only on Unix
This commit is contained in:
@@ -77,7 +77,7 @@ if(WXGTK AND wxUSE_PRIVATE_FONTS)
|
||||
wx_lib_include_directories(core PUBLIC ${FONTCONFIG_INCLUDE_DIR})
|
||||
wx_lib_link_libraries(core PUBLIC ${FONTCONFIG_LIBRARIES})
|
||||
endif()
|
||||
if(UNIX AND wxUSE_LIBSDL)
|
||||
if(wxUSE_LIBSDL)
|
||||
if(SDL2_FOUND)
|
||||
wx_lib_include_directories(core PUBLIC ${SDL2_INCLUDE_DIR})
|
||||
wx_lib_link_libraries(core PUBLIC ${SDL2_LIBRARY})
|
||||
|
Reference in New Issue
Block a user