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
parent
commit
449981cb98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contrib/Findsodium.cmake

2
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)

Loading…
Cancel
Save