mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 20:21:41 -06:00
Fix Compiler id variable name.
This commit is contained in:
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8.5 FATAL_ERROR)
|
|||||||
project(GenerateExportHeader)
|
project(GenerateExportHeader)
|
||||||
|
|
||||||
# Prevent timeout on Watcom by not running the tests.
|
# Prevent timeout on Watcom by not running the tests.
|
||||||
if ("${CMAKE_COMPILER_ID}" MATCHES Watcom)
|
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES Watcom)
|
||||||
file(WRITE
|
file(WRITE
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/main.cxx"
|
"${CMAKE_CURRENT_BINARY_DIR}/main.cxx"
|
||||||
"int main() { return 0; }
|
"int main() { return 0; }
|
||||||
|
|||||||
Reference in New Issue
Block a user