Fix off-by-not in test for Borland.

This commit is contained in:
Stephen Kelly 2011-08-10 21:53:58 +02:00
parent b4434591fb
commit 50460ea9de
1 changed files with 1 additions and 1 deletions

View File

@ -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()