diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-05-12 17:17:49 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-05-12 17:17:49 +0200 |
commit | 2f6cbf0a54775245f79b8c34cf0ba0cda3ae5583 (patch) | |
tree | f4ec6b80eabb716c1478b77739940637b91c44c4 /CMakeLists.txt | |
parent | 464a817a787374ba35776f5492367faa6f5cd3f8 (diff) | |
download | pam_network_manager-2f6cbf0a54775245f79b8c34cf0ba0cda3ae5583.tar pam_network_manager-2f6cbf0a54775245f79b8c34cf0ba0cda3ae5583.zip |
Make WLAN configuration configurable
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d762cd7..17a8385 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,15 @@ find_package(libnm_glib REQUIRED) set(PAM_MODULE_DIR "${CMAKE_INSTALL_PREFIX}/lib/security" CACHE STRING "PAM module directory") set(PAM_WLAN_HELPER_DIR "${CMAKE_INSTALL_PREFIX}/lib/security/pam_wlan" CACHE STRING "pam_wlan_helper install directory") +set(CONNECTION_TIMEOUT "10" CACHE STRING "Connection timeout") +set(CONNECTION_ID "" CACHE STRING "Connection ID") +set(CONNECTION_UUID "" CACHE STRING "Connection UUID") +set(CONNECTION_SSID "" CACHE STRING "Connection SSID") +set(CONNECTION_AUTH_ALG "open" CACHE STRING "Connection authentication algorithm") +set(CONNECTION_KEY_MGMT "wpa-eap" CACHE STRING "Connection key management method") +set(CONNECTION_EAP "ttls" CACHE STRING "Connection EAP method") +set(CONNECTION_PHASE2_AUTHEAP "mschapv2" CACHE STRING "Connection EAP phase2 authentication method") + include_directories(${CMAKE_CURRENT_BINARY_DIR} ${PAM_INCLUDE_DIR} ${LIBNM_GLIB_INCLUDE_DIRS}) link_directories(${LIBNM_GLIB_LIBRARY_DIRS}) |