summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 9e751ad..8a94d6c 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -41,10 +41,9 @@ IF (WIN32)
SOURCE_FILES(SRCS cmBorlandMakefileGenerator.cpp)
SOURCE_FILES(SRCS cmNMakeMakefileGenerator.cxx)
IF(NOT UNIX)
- IF( CMAKE_CXX_COMPILER MATCHES Borland )
- ELSE (CMAKE_CXX_COMPILER MATCHES Borland )
+ IF( NOT BORLAND )
SUBDIRS(MFCDialog)
- ENDIF( CMAKE_CXX_COMPILER MATCHES Borland)
+ ENDIF( NOT BORLAND )
ENDIF(NOT UNIX)
ENDIF (WIN32)