Home | History | Annotate | Line # | Download | only in zlib
      1  1.1  christos @PACKAGE_INIT@
      2  1.1  christos 
      3  1.1  christos set(_ZLIB_supported_components "shared" "static")
      4  1.1  christos 
      5  1.1  christos if(ZLIB_FIND_COMPONENTS)
      6  1.1  christos     foreach(_comp ${ZLIB_FIND_COMPONENTS})
      7  1.1  christos         if(NOT _comp IN_LIST _ZLIB_supported_components)
      8  1.1  christos             set(ZLIB_FOUND False)
      9  1.1  christos             set(ZLIB_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}")
     10  1.1  christos         endif(NOT _comp IN_LIST _ZLIB_supported_components)
     11  1.1  christos 
     12  1.1  christos         include("${CMAKE_CURRENT_LIST_DIR}/ZLIB-${_comp}.cmake")
     13  1.1  christos     endforeach(_comp ${ZLIB_FIND_COMPONENTS})
     14  1.1  christos else(ZLIB_FIND_COMPONENTS)
     15  1.1  christos     foreach(_component_config IN LISTS _ZLIB_supported_components)
     16  1.1  christos         include("${CMAKE_CURRENT_LIST_DIR}/ZLIB-${_component_config}.cmake")
     17  1.1  christos     endforeach(_component_config IN LISTS _ZLIB_supported_components)
     18  1.1  christos endif(ZLIB_FIND_COMPONENTS)
     19