Alex 'AdUser' Z
8 years ago
1 changed files with 4 additions and 4 deletions
@ -1,8 +1,8 @@ |
|||||||
add_executable("oal-test" "testutil.c" "config.c" "ldapauth.c") |
add_executable("oal-test" "testutil.c" "config.c" "ldapauth.c") |
||||||
target_link_libraries("oal-test" "ldap") |
target_link_libraries("oal-test" "ldap") |
||||||
|
|
||||||
add_library("openvpn-auth-ldap" SHARED "config.c" "ldapauth.c" "plugin.c") |
set(CMAKE_SHARED_LIBRARY_PREFIX "") |
||||||
target_link_libraries("openvpn-auth-ldap" "ldap") |
add_library("openvpn-plugin-auth-ldap" SHARED "config.c" "ldapauth.c" "plugin.c") |
||||||
|
target_link_libraries("openvpn-plugin-auth-ldap" "ldap") |
||||||
|
|
||||||
install(TARGETS "openvpn-auth-ldap" |
install(TARGETS "openvpn-plugin-auth-ldap" LIBRARY DESTINATION "${INSTALL_LIB}/openvpn") |
||||||
LIBRARY DESTINATION "${INSTALL_LIB}") |
|
||||||
|
Loading…
Reference in new issue