feat: change opnssl logci for cmake

This commit is contained in:
kradchen
2025-03-24 14:32:11 +08:00
parent 80c097e531
commit 59b60d2cbe

View File

@@ -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_link_libraries(${PROJECT_NAME} ${OPENSSL_LIBRARIES})
target_compile_definitions(${PROJECT_NAME}
PRIVATE
# If the debug configuration pass the DEBUG define to the compiler