Merge branch 'master' into rhappy

This commit is contained in:
wheremyfoodat 2023-09-30 14:56:47 +03:00
commit 5426ddfd78
2 changed files with 6 additions and 1 deletions

View file

@ -403,6 +403,11 @@ endif()
if(ENABLE_QT_GUI)
target_compile_definitions(Alber PUBLIC "PANDA3DS_FRONTEND_QT=1")
target_link_libraries(Alber PRIVATE Qt6::Widgets)
if(LINUX OR FREEBSD)
find_package(X11 REQUIRED)
target_link_libraries(Alber PRIVATE ${X11_LIBRARIES})
endif()
else()
target_compile_definitions(Alber PUBLIC "PANDA3DS_FRONTEND_SDL=1")
endif()