mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Update CMakeLists.txt
This commit is contained in:
parent
588d842bce
commit
9a16245782
1 changed files with 5 additions and 0 deletions
|
@ -391,6 +391,11 @@ endif()
|
||||||
if(ENABLE_QT_GUI)
|
if(ENABLE_QT_GUI)
|
||||||
target_compile_definitions(Alber PUBLIC "PANDA3DS_FRONTEND_QT=1")
|
target_compile_definitions(Alber PUBLIC "PANDA3DS_FRONTEND_QT=1")
|
||||||
target_link_libraries(Alber PRIVATE Qt6::Widgets)
|
target_link_libraries(Alber PRIVATE Qt6::Widgets)
|
||||||
|
|
||||||
|
if(LINUX OR FREEBSD)
|
||||||
|
find_package(X11 REQUIRED)
|
||||||
|
target_link_libraries(Alber PRIVATE ${X11_LIBRARIES})
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
target_compile_definitions(Alber PUBLIC "PANDA3DS_FRONTEND_SDL=1")
|
target_compile_definitions(Alber PUBLIC "PANDA3DS_FRONTEND_SDL=1")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue