diff --git a/cmake/modules/FindLibevent2.cmake b/cmake/modules/FindLibevent2.cmake index b2047295..1ae47e29 100644 --- a/cmake/modules/FindLibevent2.cmake +++ b/cmake/modules/FindLibevent2.cmake @@ -31,6 +31,7 @@ This module will set the following variables in your project: find_package(PkgConfig QUIET) if (PKG_CONFIG_FOUND) pkg_check_modules(PkgLibevent IMPORTED_TARGET GLOBAL QUIET libevent>=2) + message("**** PKG_CONFIG_FOUND is TRUE") endif () if (PkgLibevent_FOUND) @@ -82,5 +83,5 @@ else () ) 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) diff --git a/cmake/modules/FindLibuv.cmake b/cmake/modules/FindLibuv.cmake index 84a3f51e..e4e16fed 100644 --- a/cmake/modules/FindLibuv.cmake +++ b/cmake/modules/FindLibuv.cmake @@ -52,6 +52,8 @@ else () "${LIBUV_DIR}" "${LIBUV_DIR}/lib" ) + + message("Libvu 2: " ${Libuv_FOUND} " " ${LIBUV_INCLUDE_DIR} " " ${LIBUV_LIBRARIES} " " ${LIBUV_VERSION}) if (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARIES) if (NOT TARGET Libuv::Libuv) @@ -73,6 +75,8 @@ else () endif () endif () + message("Libvu 3: " ${Libuv_FOUND} " " ${LIBUV_INCLUDE_DIR} " " ${LIBUV_LIBRARIES} " " ${LIBUV_VERSION}) + include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Libuv REQUIRED_VARS LIBUV_LIBRARIES LIBUV_INCLUDE_DIR @@ -80,4 +84,6 @@ else () ) endif () + message("Libvu 4: " ${Libuv_FOUND} " " ${LIBUV_INCLUDE_DIR} " " ${LIBUV_LIBRARIES} " " ${LIBUV_VERSION}) + mark_as_advanced(LIBUV_INCLUDE_DIR LIBUV_LIBRARIES)