diff options
| author | asn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-10-19 17:43:49 +0000 |
|---|---|---|
| committer | asn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-10-19 17:43:49 +0000 |
| commit | 5966b33a8bf392dcaa2d4bfeacb99729a68ba2ec (patch) | |
| tree | 9efc389990d7d6118178f342db39a9a642746844 | |
| parent | 7db496d1e3e76a07bb51e6fafc85ccea96174ea7 (diff) | |
cmake: Added native-tools revoker executable.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1371 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
| -rw-r--r-- | pki/base/native-tools/src/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | pki/base/native-tools/src/revoker/CMakeLists.txt | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pki/base/native-tools/src/CMakeLists.txt b/pki/base/native-tools/src/CMakeLists.txt index db9c8084a..82ca94708 100644 --- a/pki/base/native-tools/src/CMakeLists.txt +++ b/pki/base/native-tools/src/CMakeLists.txt @@ -1,2 +1,3 @@ add_subdirectory(bulkissuance) add_subdirectory(p7tool) +add_subdirectory(revoker) diff --git a/pki/base/native-tools/src/revoker/CMakeLists.txt b/pki/base/native-tools/src/revoker/CMakeLists.txt new file mode 100644 index 000000000..5aa5ddff3 --- /dev/null +++ b/pki/base/native-tools/src/revoker/CMakeLists.txt @@ -0,0 +1,30 @@ +project(revoker C) + +set(REVOKER_PRIVATE_INCLUDE_DIRS + ${CMAKE_BINARY_DIR} + ${NSPR_INCLUDE_DIRS} + ${NSS_INCLUDE_DIRS} +) + +set(REVOKER_LINK_LIBRARIES + ${NSPR_LIBRARIES} + ${NSS_LIBRARIES} +) + +set(revoker_SRCS + revoker.c + getopt.c +) + +include_directories(${REVOKER_PRIVATE_INCLUDE_DIRS}) + +add_executable(revoker ${revoker_SRCS}) + +target_link_libraries(revoker ${REVOKER_LINK_LIBRARIES}) + +install( + TARGETS revoker + RUNTIME DESTINATION ${BIN_INSTALL_DIR} + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR} +) |
