feat: add encrypt class(AESEncryptHelper) and CMake link logic
This commit is contained in:
@@ -51,7 +51,7 @@ endif()
|
||||
|
||||
find_package(Qt5 COMPONENTS Core Widgets Gui Sql Network Multimedia MultimediaWidgets WebEngineWidgets REQUIRED)
|
||||
find_package(DCMTK REQUIRED)
|
||||
|
||||
find_package(OpenSSL REQUIRED)
|
||||
include_directories(${DCMTK_INCLUDE_DIRS})
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ add_executable(${PROJECT_NAME} ${project_headers} ${project_cpps} ${project_cxx}
|
||||
if(${DCMTK_FOUND})
|
||||
target_link_libraries(${PROJECT_NAME} dcmnet)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${OPENSSL_LIBRARIES})
|
||||
target_compile_definitions(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
# If the debug configuration pass the DEBUG define to the compiler
|
||||
|
||||
Reference in New Issue
Block a user