diff options
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/CMakeLists.txt | 31 | ||||
-rw-r--r-- | cmdline/main.cpp | 4 |
2 files changed, 33 insertions, 2 deletions
diff --git a/cmdline/CMakeLists.txt b/cmdline/CMakeLists.txt new file mode 100644 index 0000000..567f381 --- /dev/null +++ b/cmdline/CMakeLists.txt @@ -0,0 +1,31 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR}/tde + ${KRB5_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### tdeldapmanager (executable) + +tde_add_executable( tdeldapmanager AUTOMOC + + SOURCES + main.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + ${TDELDAP_LIBRARIES} + ${KRB5_LIBRARIES} + + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/cmdline/main.cpp b/cmdline/main.cpp index 6a30762..dc22642 100644 --- a/cmdline/main.cpp +++ b/cmdline/main.cpp @@ -38,9 +38,9 @@ #include <libtdeldap.h> -// FIXME -// Connect this to CMake/Automake +#ifndef KDE_CONFDIR #define KDE_CONFDIR "/etc/trinity" +#endif static const char description[] = I18N_NOOP("TDE utility for managing a Kerberos realm"); |