Fix Compiler id variable name.

This commit is contained in:
Stephen Kelly 2011-08-24 20:21:30 +02:00
parent 99b2aabd46
commit 36d28f2e6b
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8.5 FATAL_ERROR)
project(GenerateExportHeader)
# Prevent timeout on Watcom by not running the tests.
if ("${CMAKE_COMPILER_ID}" MATCHES Watcom)
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES Watcom)
file(WRITE
"${CMAKE_CURRENT_BINARY_DIR}/main.cxx"
"int main() { return 0; }