Merge pull request #1 from mq1n/main

Fix some build problems
This commit is contained in:
d1str4ught
2025-08-27 12:39:28 +02:00
committed by GitHub
3 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#define WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif

View File

@@ -31,7 +31,7 @@ message( STATUS "CMake version ${CMAKE_VERSION}" )
message( STATUS "System ${CMAKE_SYSTEM_NAME}" )
message( STATUS "Processor ${CMAKE_SYSTEM_PROCESSOR}" )
cmake_minimum_required(VERSION 2.8.6)
cmake_minimum_required(VERSION 3.10)
if (${CMAKE_VERSION} VERSION_LESS "3.0.0")
project(cryptopp)
set(cryptopp_VERSION_MAJOR 8)

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(lzo2 VERSION 2.10 LANGUAGES C)