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