Browse Source

Fix CMake with MSVC

Reported by @pineappleiceberg in [0]

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

Signed-off-by: Steffen Jaeckel <[email protected]>
Steffen Jaeckel 2 năm trước cách đây
mục cha
commit
d9b25936fb
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

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