summaryrefslogtreecommitdiff
diff options
-rw-r--r--CMakeLists.txt1
-rw-r--r--data/CMakeLists.txt1
-rw-r--r--data/pam/CMakeLists.txt1
-rw-r--r--data/pam/unity.pam (renamed from data/pam/unity)0
4 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c60ebdcb0..852cb4878 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -259,6 +259,7 @@ set(UNITY_STANDALONE_LADD ${UNITY_STANDALONE_LADD} ${UNITY_PROTOCOL_PRIVATE_LIB}
add_subdirectory(unity-shared)
add_subdirectory(dash)
add_subdirectory(launcher)
+add_subdirectory(data)
if (ENABLE_X_SUPPORT)
add_subdirectory(hud)
add_subdirectory(lockscreen)
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 000000000..321867659
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(pam) \ No newline at end of file
diff --git a/data/pam/CMakeLists.txt b/data/pam/CMakeLists.txt
new file mode 100644
index 000000000..e99e6e2a7
--- /dev/null
+++ b/data/pam/CMakeLists.txt
@@ -0,0 +1 @@
+install(FILES unity.pam DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/pam.d RENAME unity) \ No newline at end of file
diff --git a/data/pam/unity b/data/pam/unity.pam
index a9fd9cefe..a9fd9cefe 100644
--- a/data/pam/unity
+++ b/data/pam/unity.pam