summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rwxr-xr-xpackaging/secure-storage.spec2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dcd33bd..e5ce53a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ SET(VERSION ${VERSION_MAJOR}.0.0)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED openssl dlog)
+pkg_check_modules(pkgs REQUIRED dukgenerator)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
@@ -47,7 +47,7 @@ SET(libss-client_CFLAGS " ${CFLAGS} -fPIC -I${ss_client_include_dir} -I${ss_inc
#SET(libss-client_LIBADD " ${OPENSSL_LIBS} ")
ADD_LIBRARY(ss-client SHARED ${libss-client_SOURCES})
-TARGET_LINK_LIBRARIES(ss-client ${pkgs_LDFLAGS} -ldukgenerator)
+TARGET_LINK_LIBRARIES(ss-client ${pkgs_LDFLAGS})
SET_TARGET_PROPERTIES(ss-client PROPERTIES SOVERSION ${VERSION_MAJOR})
SET_TARGET_PROPERTIES(ss-client PROPERTIES VERSION ${VERSION})
SET_TARGET_PROPERTIES(ss-client PROPERTIES COMPILE_FLAGS "${libss-client_CFLAGS}")
diff --git a/packaging/secure-storage.spec b/packaging/secure-storage.spec
index b9c415a..6757b0f 100755
--- a/packaging/secure-storage.spec
+++ b/packaging/secure-storage.spec
@@ -11,7 +11,7 @@ BuildRequires: pkgconfig(dlog)
#BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(security-server)
BuildRequires: cmake
-BuildRequires: dukgenerator-devel
+BuildRequires: pkgconfig(dukgenerator)
%description
Secure storage package