diff --git a/cmake/Modules/FindDetours.cmake b/cmake/Modules/FindDetours.cmake index 21aeccb8e..93aaaa78f 100644 --- a/cmake/Modules/FindDetours.cmake +++ b/cmake/Modules/FindDetours.cmake @@ -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)