diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-04-29 00:03:19 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-04-29 00:03:19 -0700 |
| commit | 00c46e07ac0fa8a75f5d6e080a14e1da5edf1e4e (patch) | |
| tree | 02d9a7d6b7be1ce2c65a6e632a47fac39893cb30 /CMakeLists.txt | |
| parent | 1eff707e1c23f9922c038fb9fab6264b1b8b791e (diff) | |
this is not encryption but acts as a sort of pseudo deterrent?
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 107ea02..b45c67a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,9 @@ endif() message(STATUS "Source directory: ${CMAKE_SOURCE_DIR}") message(STATUS "Binary directory: ${CMAKE_BINARY_DIR}") +# Find OpenSSL for AES-GCM / PBKDF2 usage +find_package(OpenSSL REQUIRED) + add_executable(${PROJECT_NAME} src/main.cpp src/markdown_translator.cpp @@ -22,6 +25,9 @@ add_executable(${PROJECT_NAME} target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/include) +# Link OpenSSL libraries +target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::Crypto OpenSSL::SSL) + add_custom_target(copy_styles ALL COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/styles |
