mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-02 09:33:33 +00:00
cmake: Fix Detours package name CMake warning
Since CMake 3.17, find_package_handle_standard_args (FPHSA) will emit a warning if the package name in the caller and in FPHSA do not match. This normalizes the name "Detours" in CMake calls to prevent this warning.
This commit is contained in:
parent
0ffcb66526
commit
ac59d51724
|
@ -59,7 +59,7 @@ find_library(DETOURS_LIB
|
|||
../bin${_lib_suffix} ../bin)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(DETOURS DEFAULT_MSG DETOURS_LIB DETOURS_INCLUDE_DIR)
|
||||
find_package_handle_standard_args(Detours DEFAULT_MSG DETOURS_LIB DETOURS_INCLUDE_DIR)
|
||||
mark_as_advanced(DETOURS_INCLUDE_DIR DETOURS_LIB)
|
||||
|
||||
if(DETOURS_FOUND)
|
||||
|
|
Loading…
Reference in a new issue