mirror of
https://github.com/darlinghq/darling.git
synced 2025-02-16 23:59:49 +00:00
Fixes cmake case-matching warnings
The actual warnings are: --- CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (SETCAP) does not match the name of the calling package (Setcap). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindSetcap.cmake:8 (find_package_handle_standard_args) CMakeLists.txt:82 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (FFMPEG) does not match the name of the calling package (FFmpeg). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindFFmpeg.cmake:91 (find_package_handle_standard_args) src/CoreAudio/CMakeLists.txt:6 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. ---
This commit is contained in:
parent
e4f303c31d
commit
ea62f5daf1
@ -88,7 +88,7 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_package_handle_standard_args(FFMPEG
|
||||
find_package_handle_standard_args(FFmpeg
|
||||
FOUND_VAR FFMPEG_FOUND
|
||||
REQUIRED_VARS
|
||||
FFMPEG_LIBRARIES
|
||||
|
@ -5,7 +5,7 @@ find_program(SETCAP_EXECUTABLE
|
||||
PATHS /bin /usr/bin /sbin /usr/sbin
|
||||
)
|
||||
|
||||
find_package_handle_standard_args(SETCAP DEFAULT_MSG SETCAP_EXECUTABLE)
|
||||
find_package_handle_standard_args(Setcap DEFAULT_MSG SETCAP_EXECUTABLE)
|
||||
|
||||
mark_as_advanced(SETCAP_EXECUTABLE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user