From 59b60d2cbef201e07b2731fd9dec5e368de08a82 Mon Sep 17 00:00:00 2001 From: kradchen Date: Mon, 24 Mar 2025 14:32:11 +0800 Subject: [PATCH] feat: change opnssl logci for cmake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a77d782..f2070ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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