Skip to content

Commit 6502748

Browse files
committed
promote not finding frameworks to all externals
1 parent 3241e30 commit 6502748

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ endif(CMAKE_CONFIGURATION_TYPES)
7373
mark_as_advanced(CMAKE_BUILD_TYPE)
7474
mark_as_advanced(CMAKE_CONFIGURATION_TYPES)
7575

76+
# Frameworks are deprecated in CMake, so avoid finding them
77+
set(CMAKE_FIND_FRAMEWORK NEVER)
78+
79+
7680
#------------------------------------------------------------------------------
7781
# Once we do a run, we want our ENABLE_ALL setting to be consistent in
7882
# subsequent CMake runs

tcl/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ endif (APPLE)
3232
if (NOT ENABLE_TCL AND NOT DISABLE_TCL)
3333

3434
set(TCL_ENABLE_TK ON CACHE BOOL "enable tk")
35-
set(CMAKE_FIND_FRAMEWORK NEVER)
3635
find_package(TCL "${TCL_VERSION}")
3736

3837
if (NOT TCL_FOUND AND NOT DEFINED ENABLE_TCL)

0 commit comments

Comments
 (0)