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(){