Skip to content

Commit 49b7acc

Browse files
committed
Config created by cmake
1 parent 190f796 commit 49b7acc

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ pkg_search_module(GLIB REQUIRED glib-2.0)
1919

2020
add_subdirectory(src)
2121

22-
install(FILES devicelock.conf
22+
configure_file(devicelock.conf.in
23+
${CMAKE_CURRENT_BINARY_DIR}/devicelock.conf
24+
@ONLY)
25+
26+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/devicelock.conf
2327
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/lipstick/devicelock/)

devicelock.conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

devicelock.conf.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[DeviceLock]
2+
pluginName=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/qt6/plugins/devicelock/glacier-devicelock

0 commit comments

Comments
 (0)