diff --git a/FindBob.cmake b/FindBob.cmake index e4a3831ba0afe38e8de23b98873e060c06c7c48a..a1d117a577facf047cd1796c452500421046e3ff 100644 --- a/FindBob.cmake +++ b/FindBob.cmake @@ -98,8 +98,6 @@ function(find_bob_package package) return() endif() - message(STATUS "Searching for Bob package '${package}'") - # define possible path set(_possible_paths ${BOB_SOURCE_DIR}/src/${package} @@ -138,6 +136,8 @@ function(find_bob_package package) return() endif() + message(STATUS "Found Bob package '${package}' at '${_package_dir}'") + set(${PACKAGE}_FOUND TRUE CACHE BOOL "The package ${package} has been found." FORCE) # first, parse the requirements (requires.txt) from the requires.txt inside ${PACKAGE_BASE_DIR}/${package}*.egg-info or ${PACKAGE_BASE_DIR}/EGG-INFO