Skip to content

Commit

Permalink
fix: add compile definition
Browse files Browse the repository at this point in the history
Signed-off-by: ComixHe <[email protected]>
  • Loading branch information
ComixHe authored and justforlxz committed Dec 12, 2023
1 parent 80cbfa5 commit f9762bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/treeland/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pkg_search_module(WLROOTS REQUIRED IMPORTED_TARGET wlroots)

add_subdirectory(data)
add_subdirectory(protocols)
add_subdirectory(quick)
Expand Down Expand Up @@ -41,6 +43,11 @@ target_link_libraries(treeland
Qt${QT_MAJOR_VERSION}::DBus
)

target_compile_definitions(treeland
PRIVATE
WLR_USE_UNSTABLE
)

if(JOURNALD_FOUND)
target_link_libraries(treeland PRIVATE ${JOURNALD_LIBRARIES})
endif()
Expand Down

0 comments on commit f9762bb

Please sign in to comment.