Fix off-by-not in test for Borland.
This commit is contained in:
parent
b4434591fb
commit
50460ea9de
|
@ -149,7 +149,7 @@ macro(_DO_SET_MACRO_VALUES TARGET_LIBRARY)
|
||||||
set(DEFINE_NO_EXPORT)
|
set(DEFINE_NO_EXPORT)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
if (${CMAKE_CXX_COMPILER_ID} MATCHES Borland)
|
if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES Borland)
|
||||||
set(DEFINE_DEPRECATED "__declspec(deprecated)")
|
set(DEFINE_DEPRECATED "__declspec(deprecated)")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue