From f085087c23c5525b7a11532ee51f70ac7859cef4 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Tue, 25 Oct 2011 21:20:40 -0700 Subject: [PATCH] Build plFileEncrypt in Linux. --- Sources/Plasma/Apps/plFileEncrypt/CMakeLists.txt | 3 +-- Sources/Plasma/Apps/plFileEncrypt/main.cpp | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Sources/Plasma/Apps/plFileEncrypt/CMakeLists.txt b/Sources/Plasma/Apps/plFileEncrypt/CMakeLists.txt index 77e90504..f22b053c 100644 --- a/Sources/Plasma/Apps/plFileEncrypt/CMakeLists.txt +++ b/Sources/Plasma/Apps/plFileEncrypt/CMakeLists.txt @@ -12,7 +12,6 @@ set(plFileEncrypt_SOURCES ) add_executable(plFileEncrypt ${plFileEncrypt_SOURCES}) -target_link_libraries(plFileEncrypt CoreLib CoreLibExe plFile plUnifiedTime pnProduct pnUtils) -target_link_libraries(plFileEncrypt Rpcrt4) +target_link_libraries(plFileEncrypt CoreLib CoreLibExe plFile plUnifiedTime pnProduct plUUID) source_group("Source Files" FILES ${plFileEncrypt_SOURCES}) diff --git a/Sources/Plasma/Apps/plFileEncrypt/main.cpp b/Sources/Plasma/Apps/plFileEncrypt/main.cpp index 99278625..37fad98a 100644 --- a/Sources/Plasma/Apps/plFileEncrypt/main.cpp +++ b/Sources/Plasma/Apps/plFileEncrypt/main.cpp @@ -41,10 +41,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plFile/hsFiles.h" #include "plFile/plEncryptedStream.h" -#include "pnUtils/pnUtils.h" +//#include "pnUtils/pnUtils.h" #include "pnProduct/pnProduct.h" #include "hsUtils.h" +/* Hack so that we can pull in the product info */ +#include "pnFactory/plCreator.h" +#include "plUUID/plUUID.h" +REGISTER_CREATABLE( plCreatableUuid); + + void EncryptFiles(const char* dir, const char* ext, bool encrypt); void print_version(){