MinedMap/.github/toolchains/x86_64-w64-mingw32/FindPkgConfig.cmake
Matthias Schiffer 00b93c507d
ci: add GitHub actions for Linux and Windows builds
We build a "static" binary for Windows now to avoid distributing the
dependencies as DLLs.
2021-12-19 23:19:49 +01:00

5 lines
257 B
CMake

# Hack: The toolchain file is evaluated too early to set the library suffixes, so we use a wrapper
# around FindPkgConfig set it right before we search for libraries.
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
include(${CMAKE_ROOT}/Modules/FindPkgConfig.cmake)