diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-10 19:53:58 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-10 19:53:58 (GMT) |
commit | 50460ea9de40d7c8ef631bbdb5d44b9aa4c14718 (patch) | |
tree | 64b277f4f80fd721f80b6620d4b663f2cba9671c | |
parent | b4434591fb70a424510a331b68d5f472da93fcf6 (diff) | |
download | CMake-50460ea9de40d7c8ef631bbdb5d44b9aa4c14718.zip CMake-50460ea9de40d7c8ef631bbdb5d44b9aa4c14718.tar.gz CMake-50460ea9de40d7c8ef631bbdb5d44b9aa4c14718.tar.bz2 |
Fix off-by-not in test for Borland.
-rw-r--r-- | Modules/GenerateExportHeader.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake index 1578365..5ecb807 100644 --- a/Modules/GenerateExportHeader.cmake +++ b/Modules/GenerateExportHeader.cmake @@ -149,7 +149,7 @@ macro(_DO_SET_MACRO_VALUES TARGET_LIBRARY) set(DEFINE_NO_EXPORT) if(WIN32) - if (${CMAKE_CXX_COMPILER_ID} MATCHES Borland) + if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES Borland) set(DEFINE_DEPRECATED "__declspec(deprecated)") endif() else() |