Browse Source
Findsodium.cmake: Support "Generic" platform
This allows it to work on the Switch toolchain
master
Anders Jenbo
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
contrib/Findsodium.cmake
|
|
@ -44,7 +44,7 @@ endif() |
|
|
|
|
|
|
|
# ############################################################################## |
|
|
|
# UNIX |
|
|
|
if(UNIX) |
|
|
|
if(UNIX OR CMAKE_SYSTEM_NAME STREQUAL "Generic") |
|
|
|
# import pkg-config |
|
|
|
find_package(PkgConfig QUIET) |
|
|
|
if(PKG_CONFIG_FOUND) |
|
|
|