mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 10:29:47 +00:00
fix names
This commit is contained in:
parent
aac67ac93a
commit
714567a06e
5 changed files with 16 additions and 16 deletions
|
|
@ -76,8 +76,8 @@ endif()
|
|||
|
||||
target_include_directories(VoxelCoreSrc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
option(VOXELENGINE_WAYLAND "Build the native Wayland window backend" ON)
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND VOXELENGINE_WAYLAND)
|
||||
option(VOXELCORE_WAYLAND "Build the native Wayland window backend" ON)
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND VOXELCORE_WAYLAND)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(wayland-client IMPORTED_TARGET wayland-client)
|
||||
pkg_check_modules(xkbcommon IMPORTED_TARGET xkbcommon)
|
||||
|
|
@ -128,9 +128,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND VOXELENGINE_WAYLAND)
|
|||
target_sources(
|
||||
VoxelCoreSrc PRIVATE ${WAYLAND_SOURCES} ${wayland_sources})
|
||||
target_include_directories(VoxelCoreSrc PRIVATE ${WAYLAND_GENERATED})
|
||||
target_compile_definitions(VoxelCoreSrc PRIVATE VOXELENGINE_WAYLAND=1)
|
||||
target_compile_definitions(VoxelCoreSrc PRIVATE VOXELCORE_WAYLAND=1)
|
||||
if(libsystemd_FOUND)
|
||||
target_compile_definitions(VoxelCoreSrc PUBLIC VOXELENGINE_SDBUS=1)
|
||||
target_compile_definitions(VoxelCoreSrc PUBLIC VOXELCORE_SDBUS=1)
|
||||
target_link_libraries(VoxelCoreSrc PRIVATE PkgConfig::libsystemd)
|
||||
message(STATUS "Wayland backend: sd-bus settings are on")
|
||||
else()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue