Fix CMake with MSVC

Reported by @pineappleiceberg in [0]

[0] https://github.com/libtom/libtomcrypt/issues/577#issuecomment-1722545061

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel 2023-10-05 10:53:06 +02:00 committed by Jamie Reece Wilson
parent 74ddf11d55
commit e562548ed6

View File

@ -24,6 +24,9 @@ include(CheckIPOSupported)
include(CMakePackageConfigHelpers)
# for potential builds against gnump
include(FindPkgConfig)
# for potential builds with MSVC
include(CMakePushCheckState)
include(CheckSymbolExists)
# default is "No tests"
option(BUILD_TESTING "" OFF)
include(CTest)