[BACK]Return to patch-cmake_Findltdl_cmake CVS log [TXT][DIR] Up to [local] / ports / devel / libgigi / patches

Annotation of ports/devel/libgigi/patches/patch-cmake_Findltdl_cmake, Revision 1.1

1.1     ! kirby       1: $OpenBSD$
        !             2: --- cmake/Findltdl.cmake.orig  Thu Jun 26 13:16:36 2014
        !             3: +++ cmake/Findltdl.cmake       Thu Jun 26 13:16:36 2014
        !             4: @@ -0,0 +1,27 @@
        !             5: +# - Find ltdl
        !             6: +# Once done this will define
        !             7: +#   LTDL_FOUND          True if ltdl is found
        !             8: +#   LTDL_INCLUDE_DIRS   The ltdl header directories, containing ltdl.h
        !             9: +#   LTDL_LIBRARIES      The ltdl link libraries, needed to use ltdl
        !            10: +
        !            11: +#=============================================================================
        !            12: +# Copyright 2013 Yclept Nemo
        !            13: +#
        !            14: +# Distributed under the GNU Lesser General Public License v2.1
        !            15: +#
        !            16: +# Based on the example provided at:
        !            17: +# http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules
        !            18: +#=============================================================================
        !            19: +
        !            20: +find_path(LTDL_INCLUDE_DIR ltdl.h)
        !            21: +
        !            22: +find_library(LTDL_LIBRARY ltdl)
        !            23: +
        !            24: +set(LTDL_INCLUDE_DIRS ${LTDL_INCLUDE_DIR})
        !            25: +set(LTDL_LIBRARIES ${LTDL_LIBRARY})
        !            26: +
        !            27: +include(FindPackageHandleStandardArgs)
        !            28: +find_package_handle_standard_args(LTDL DEFAULT_MESSAGE
        !            29: +                                  LTDL_INCLUDE_DIR LTDL_LIBRARY)
        !            30: +
        !            31: +mark_as_advanced(LTDL_INCLUDE_DIR LTDL_LIBRARY)

CVSweb