mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
CMake: Mark all system macOS frameworks as advanced variables
It should be extremely unusual to want to change these, and they are just cluttering up the CMake GUI.
This commit is contained in:
parent
113dd6a357
commit
abe3c2bf0b
@ -128,6 +128,10 @@ if(APPLE)
|
||||
if(APPLE_BZ2_LIBRARY)
|
||||
list(APPEND FFMPEG_LIBRARIES "${APPLE_BZ2_LIBRARY}")
|
||||
endif()
|
||||
|
||||
mark_as_advanced(APPLE_AUDIOTOOLBOX_LIBRARY APPLE_COREMEDIA_LIBRARY
|
||||
APPLE_COREVIDEO_LIBRARY APPLE_SECURITY_LIBRARY APPLE_VDA_LIBRARY
|
||||
APPLE_VIDEOTOOLBOX_LIBRARY APPLE_ICONV_LIBRARY APPLE_BZ2_LIBRARY)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(FFMPEG_LIBRARY_DIR)
|
||||
|
@ -82,6 +82,8 @@ if(APPLE)
|
||||
find_library(FOUNDATION_LIBRARY Foundation)
|
||||
find_library(APPKIT_LIBRARY AppKit)
|
||||
target_link_libraries(p3dtoolutil ${FOUNDATION_LIBRARY} ${APPKIT_LIBRARY})
|
||||
|
||||
mark_as_advanced(FOUNDATION_LIBRARY APPKIT_LIBRARY)
|
||||
endif()
|
||||
|
||||
# These are all used by executionEnvironment.cxx/filename.cxx
|
||||
|
@ -42,6 +42,9 @@ target_link_libraries(p3cocoadisplay
|
||||
${APPLICATIONSERVICES_LIBRARY} ${APPKIT_LIBRARY} ${CARBON_LIBRARY}
|
||||
${CORE_VIDEO_LIBRARY})
|
||||
|
||||
mark_as_advanced(
|
||||
APPLICATIONSERVICES_LIBRARY APPKIT_LIBRARY CARBON_LIBRARY CORE_VIDEO_LIBRARY)
|
||||
|
||||
if(NOT BUILD_METALIBS)
|
||||
install(TARGETS p3cocoadisplay EXPORT OpenGL COMPONENT OpenGL DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user