diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-07-25 17:15:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-29 13:40:58 (GMT) |
commit | 32cf738c98deb967ee3f4bec32fdaf5d94ecb52f (patch) | |
tree | 3b29393da784626ec6f5fee62bf96c3db86c029f /Modules/FindGTK2.cmake | |
parent | a874142987e90393393351237d7e84daaf004a11 (diff) | |
download | CMake-32cf738c98deb967ee3f4bec32fdaf5d94ecb52f.zip CMake-32cf738c98deb967ee3f4bec32fdaf5d94ecb52f.tar.gz CMake-32cf738c98deb967ee3f4bec32fdaf5d94ecb52f.tar.bz2 |
FindGTK2: Remove GTK2_SKIP_MARK_AS_ADVANCED option
Variables are now automatically marked as advanced by
SelectLibraryConfigurations
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r-- | Modules/FindGTK2.cmake | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index c1d1cc1..4f522e5 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -28,7 +28,6 @@ # Optional variables you can define prior to calling this module: # # GTK2_DEBUG - Enables verbose debugging of the module -# GTK2_SKIP_MARK_AS_ADVANCED - Disable marking cache variables as advanced # GTK2_ADDITIONAL_SUFFIXES - Allows defining additional directories to # search for include files # @@ -76,6 +75,8 @@ # (i.e. MSVC) # * Use the optimized/debug syntax for _LIBRARY and _LIBRARIES variables when # appropriate. A new set of _RELEASE variables was also added. +# * Remove GTK2_SKIP_MARK_AS_ADVANCED option, as now the variables are +# marked as advanced by SelectLibraryConfigurations # Version 1.4 (10/4/2012) (CMake 2.8.10) # * 12596: Missing paths for FindGTK2 on NetBSD # * 12049: Fixed detection of GTK include files in the lib folder on @@ -242,9 +243,6 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr) if(${_var}_INCLUDE_DIR) set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIRS} ${${_var}_INCLUDE_DIR} PARENT_SCOPE) - if(NOT GTK2_SKIP_MARK_AS_ADVANCED) - mark_as_advanced(${_var}_INCLUDE_DIR) - endif() endif() endfunction() @@ -365,11 +363,6 @@ function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version) select_library_configurations(${_var}) - if(NOT GTK2_SKIP_MARK_AS_ADVANCED) - mark_as_advanced(${_var}_LIBRARY_RELEASE) - mark_as_advanced(${_var}_LIBRARY_DEBUG) - endif() - set(${_var}_LIBRARY ${${_var}_LIBRARY} PARENT_SCOPE) set(GTK2_LIBRARIES ${GTK2_LIBRARIES} ${${_var}_LIBRARY}) |