diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-24 18:21:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-24 18:21:30 (GMT) |
commit | 36d28f2e6b60b684fa26dc8b906dcf51a5c93a0f (patch) | |
tree | a104192f51aab91ebaa9b5a2cbec6b0e255beec8 /Tests | |
parent | 99b2aabd460d0c508ffa7b21283a0512e322e717 (diff) | |
download | CMake-36d28f2e6b60b684fa26dc8b906dcf51a5c93a0f.zip CMake-36d28f2e6b60b684fa26dc8b906dcf51a5c93a0f.tar.gz CMake-36d28f2e6b60b684fa26dc8b906dcf51a5c93a0f.tar.bz2 |
Fix Compiler id variable name.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Module/GenerateExportHeader/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt b/Tests/Module/GenerateExportHeader/CMakeLists.txt index 5372f92..fee836e 100644 --- a/Tests/Module/GenerateExportHeader/CMakeLists.txt +++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt @@ -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; } |