Commit 37470335 authored by Jon Siwek's avatar Jon Siwek

Fix "Libcaf" casing issue in FindLibcaf.cmake.

find_package_handle_standard_args() expects the first argument to be the
name of the Find-module in original casing.  If it's not, it may fail to
do things like abort with a FATAL_ERROR message if REQUIRED was supplied
to the original find_package().
parent bb19830d
...@@ -87,7 +87,7 @@ endforeach () ...@@ -87,7 +87,7 @@ endforeach ()
# final steps to tell CMake we're done # final steps to tell CMake we're done
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(libcaf find_package_handle_standard_args(Libcaf
DEFAULT_MSG DEFAULT_MSG
LIBCAF_LIBRARIES LIBCAF_LIBRARIES
LIBCAF_INCLUDE_DIRS) LIBCAF_INCLUDE_DIRS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment