This library contains CMake code (files with .cmake extentions),
Python scripts and it is intended for simplification different actions
on the organization of the build environment.
Revision | 293a3de348253d1375be782c9389634ecbda5f7b (tree) |
---|---|
Time | 2017-08-24 06:24:08 |
Author | Sergey Gusarov <laborer2008@gmai...> |
Commiter | Sergey Gusarov |
Adoptation to the new cmake CMP0054 behaviour
@@ -6,9 +6,9 @@ | ||
6 | 6 | # Language definition. Should be provided by external code |
7 | 7 | |
8 | 8 | macro(cmtEnableLanguage variable) |
9 | - if ("${variable}" STREQUAL "C") | |
9 | + if (${variable} STREQUAL "C") | |
10 | 10 | enable_language(C) |
11 | - elseif ("${variable}" STREQUAL "CXX") | |
11 | + elseif (${variable} STREQUAL "CXX") | |
12 | 12 | enable_language(CXX) |
13 | 13 | else() |
14 | 14 | message(FATAL_ERROR "Unsupported language: ${variable}") |