mirror of https://github.com/getdnsapi/getdns.git
more debug
This commit is contained in:
parent
3cf9aa8f9e
commit
2a75e1a9ea
|
@ -31,6 +31,7 @@ This module will set the following variables in your project:
|
||||||
find_package(PkgConfig QUIET)
|
find_package(PkgConfig QUIET)
|
||||||
if (PKG_CONFIG_FOUND)
|
if (PKG_CONFIG_FOUND)
|
||||||
pkg_check_modules(PkgLibevent IMPORTED_TARGET GLOBAL QUIET libevent>=2)
|
pkg_check_modules(PkgLibevent IMPORTED_TARGET GLOBAL QUIET libevent>=2)
|
||||||
|
message("**** PKG_CONFIG_FOUND is TRUE")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (PkgLibevent_FOUND)
|
if (PkgLibevent_FOUND)
|
||||||
|
@ -82,5 +83,5 @@ else ()
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
message("Hello world " ${Libevent2_FOUND} " " ${LIBEVENT2_INCLUDE_DIR} " " ${LIBEVENT2_LIBRARIES} " " ${LIBEVENT2_VERSION})
|
message("Hello world 4" ${Libevent2_FOUND} " " ${LIBEVENT2_INCLUDE_DIR} " " ${LIBEVENT2_LIBRARIES} " " ${LIBEVENT2_VERSION})
|
||||||
mark_as_advanced(LIBEVENT2_INCLUDE_DIR LIBEVENT2_LIBRARIES)
|
mark_as_advanced(LIBEVENT2_INCLUDE_DIR LIBEVENT2_LIBRARIES)
|
||||||
|
|
|
@ -52,6 +52,8 @@ else ()
|
||||||
"${LIBUV_DIR}"
|
"${LIBUV_DIR}"
|
||||||
"${LIBUV_DIR}/lib"
|
"${LIBUV_DIR}/lib"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
message("Libvu 2: " ${Libuv_FOUND} " " ${LIBUV_INCLUDE_DIR} " " ${LIBUV_LIBRARIES} " " ${LIBUV_VERSION})
|
||||||
|
|
||||||
if (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARIES)
|
if (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARIES)
|
||||||
if (NOT TARGET Libuv::Libuv)
|
if (NOT TARGET Libuv::Libuv)
|
||||||
|
@ -73,6 +75,8 @@ else ()
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
message("Libvu 3: " ${Libuv_FOUND} " " ${LIBUV_INCLUDE_DIR} " " ${LIBUV_LIBRARIES} " " ${LIBUV_VERSION})
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(Libuv
|
find_package_handle_standard_args(Libuv
|
||||||
REQUIRED_VARS LIBUV_LIBRARIES LIBUV_INCLUDE_DIR
|
REQUIRED_VARS LIBUV_LIBRARIES LIBUV_INCLUDE_DIR
|
||||||
|
@ -80,4 +84,6 @@ else ()
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
message("Libvu 4: " ${Libuv_FOUND} " " ${LIBUV_INCLUDE_DIR} " " ${LIBUV_LIBRARIES} " " ${LIBUV_VERSION})
|
||||||
|
|
||||||
mark_as_advanced(LIBUV_INCLUDE_DIR LIBUV_LIBRARIES)
|
mark_as_advanced(LIBUV_INCLUDE_DIR LIBUV_LIBRARIES)
|
||||||
|
|
Loading…
Reference in New Issue