diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-10-15 15:21:27 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-10-15 15:21:27 -0400 |
commit | 1f49ac3c6234b3038366af59fd55002b330893c4 (patch) | |
tree | 7f4d0b26508840c09e851636614f26293bf19bb1 /CMakeLists.txt | |
parent | 30b30a08e66a592d61edd324839a79d5f9ea3066 (diff) |
first attempt at password manipulation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 68f91f2..ad641cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,16 @@ cmake_minimum_required(VERSION 2.8) project(Instrument) - +include(FindPkgConfig) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) find_package(Glib) find_package(GIO) find_package(Mhash) + +pkg_check_modules(LIBUSER REQUIRED libuser) +add_definitions(${LIBUSER_CFLAGS}) +link_libraries(${LIBUSER_LDFLAGS}) +link_libraries(-lpam) + include_directories(${GLIB_PKG_INCLUDE_DIRS}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -funsigned-char -Wall") add_executable(instr-daemon instr-daemon.c |