From bc8ae48cc909a2c2592917cd19e2b1994c557896 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 3 Jun 2012 23:39:32 -0700 Subject: [PATCH] Make this stuff compile on MSVC --- CMakeLists.txt | 4 +--- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index efedcb87d..d2ce9b0c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,8 @@ -cmake_minimum_required(VERSION 2.4) +cmake_minimum_required(VERSION 2.6) project (server C) enable_testing() -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../cmake/Modules/") - add_subdirectory (../dependencies "${CMAKE_CURRENT_BINARY_DIR}/dependencies") add_subdirectory (../core/src "${CMAKE_CURRENT_BINARY_DIR}/core") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f29bc96f5..dd168ebb6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.4) +cmake_minimum_required(VERSION 2.6) project (server C) find_package (Lua51 REQUIRED)