From 6c44530faa33163a0958e6ff70e75fae0f77ac15 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Fri, 19 Apr 2024 18:36:28 -0400 Subject: [PATCH] Mark COREFOUNDATION_LIBRARY as an advanced setting in cmake On macOS, just about everything links to CoreFoundation, and no user is ever going to want to change the automatic setting. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 345f29732..5b4d7dd89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -564,6 +564,7 @@ if(APPLE) if(GDCM_USE_COREFOUNDATION_LIBRARY) find_library(COREFOUNDATION_LIBRARY CoreFoundation ) endif() + mark_as_advanced(COREFOUNDATION_LIBRARY) endif() #-----------------------------------------------------------------------------