Findsodium.cmake: Support "Generic" platform

This allows it to work on the Switch toolchain
This commit is contained in:
Anders Jenbo
2019-11-11 02:09:22 +01:00
committed by GitHub
parent fe04ff5aa5
commit 449981cb98
+1 -1
View File
@@ -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)