(fix of commit
e7dd50d19)
Otherwise CMake issues a warning about unset CMAKE_LEGACY_CYGWIN_WIN32
on Cygwin.
* CMakeLists.txt (cmake_minimum_required): Move the specification to
the top of the file.
# this will generate gc.sln
#
+cmake_minimum_required(VERSION 3.1)
+
option(enable_cplusplus "C++ support" OFF)
if (enable_cplusplus)
project(gc)
include(CTest)
-cmake_minimum_required(VERSION 3.1)
-
# Customize the build by passing "-D<option_name>=ON|OFF" in the command line.
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
option(build_cord "Build cord library" ON)