Revision 167060303b6d9ffb56b2785cec0f7e363f0876c6 authored by Brad King on 14 October 2021, 12:03:54 UTC, committed by Brad King on 14 October 2021, 12:03:54 UTC
1 parent 9b8a551
FindFoo.cmake.in
find_library(FOO_LIBRARY NAMES foo HINTS "@CMAKE_CURRENT_BINARY_DIR@" )
find_path(FOO_INCLUDE_DIR NAMES foo.h HINTS "@CMAKE_CURRENT_SOURCE_DIR@" )
set(FOO_LIBRARIES ${FOO_LIBRARY})
set(FOO_INCLUDE_DIRS "${FOO_INCLUDE_DIR}" "/some/path/with a space/include" )
add_library(Foo::Foo INTERFACE IMPORTED)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Foo DEFAULT_MSG FOO_LIBRARY FOO_INCLUDE_DIR )
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...