[CMake] Cmake on Cgwin and WIN32 (actually cmake_minimum_required)

Brad King brad.king at kitware.com
Mon Aug 20 11:21:22 EDT 2012


On 08/19/2012 01:15 AM, Thomas Nilsson wrote:
> Cmake no longer defines WIN32 on Cygwin. That's alright. However, in the 
> message you get when ccmake-ing it says:
> 
>      "or set the minimum  required version of CMake to 2.8.4 or higher"
> 
> I added
> 
>      cmake_minimum_required(VERSION 2.8.4)
> 
> but the message still appears. Am I miss-interpreting the message or the 
> cmake_minimum_command?

Make sure it is the first line at the top of the first
CMakeLists.txt file.

-Brad


More information about the CMake mailing list