You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
433 B
8 lines
433 B
add_executable("oal-test" "testutil.c" "config.c" "ldapauth.c") |
|
target_link_libraries("oal-test" "ldap") |
|
install(TARGETS "oal-test" RUNTIME DESTINATION "bin") |
|
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX "") |
|
add_library("openvpn-plugin-auth-ldap" SHARED "config.c" "ldapauth.c" "plugin.c") |
|
target_link_libraries("openvpn-plugin-auth-ldap" "ldap") |
|
install(TARGETS "openvpn-plugin-auth-ldap" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/openvpn")
|
|
|