mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-19 03:55:43 -04:00

CMake 3.17's FIND_PACKAGE() is complaining that the package name doesn't match the filename. Rename the filenames to match.
23 lines
691 B
CMake
23 lines
691 B
CMake
# Find SECCOMP libraries and headers.
|
|
# If found, the following variables will be defined:
|
|
# - SECCOMP_FOUND: System has SECCOMP.
|
|
# - SECCOMP_INCLUDE_DIRS: SECCOMP include directories.
|
|
# - SECCOMP_LIBRARIES: SECCOMP libraries.
|
|
# - SECCOMP_DEFINITIONS: Compiler switches required for using SECCOMP.
|
|
#
|
|
# In addition, a target Seccomp::seccomp will be created with all of
|
|
# these definitions.
|
|
#
|
|
# References:
|
|
# - https://cmake.org/Wiki/CMake:How_To_Find_Libraries
|
|
# - http://francesco-cek.com/cmake-and-gtk-3-the-easy-way/
|
|
#
|
|
|
|
INCLUDE(FindLibraryPkgConfig)
|
|
FIND_LIBRARY_PKG_CONFIG(SECCOMP
|
|
libseccomp # pkgconfig
|
|
seccomp.h # header
|
|
seccomp # library
|
|
Seccomp::seccomp # imported target
|
|
)
|