Cmake warning regarding SDL during build
envgap__AntiMicroX__antimicrox-474
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
a2dc31c5d49b1ff4da9a71df07a980c2325ea70f- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
AntiMicroX/antimicrox #474 · read the original issue
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior See title. ### Expected Behavior No warning. ### Steps To Reproduce Build the package. I used the AUR package: https://aur.archlinux.org/packages/antimicrox ### Environment ```markdown - OS: Manjaro Linux - AntiMicroX version: 3.2.4 ``` ### Anything else? Log excerpt: ``` -- Found SDL2: /usr/lib/libSDL2.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (SDL2main) does not match the name of the calling package (SDL2). 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/modules/FindSDL2.cmake:321 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:479 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. ```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]