Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed cmake to properly use pkg-config to get gtk-layer-shell #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ add_library(albinos::uvw ALIAS uvw)
###
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK REQUIRED gtk+-3.0)
pkg_check_modules(GTK REQUIRED gtk-layer-shell-0)

add_executable(albinos-service ${SOURCES_SERVICE})
add_executable(albinos-gui ${SOURCES_GUI})
target_link_libraries(albinos-gui gtk-layer-shell)
target_link_libraries(albinos-gui GTK::gtk-layer-shell-0)
target_link_libraries(albinos-gui ${GTK_LIBRARIES})
target_include_directories(albinos-gui PUBLIC ${GTK_INCLUDE_DIRS})
target_compile_options(albinos-gui PUBLIC ${GTK_CFLAGS_OTHER})
Expand Down