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, 4 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 2c4410b..f51f358 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -40,7 +40,10 @@ IF (WIN32)
SOURCE_FILES(SRCS cmDSWWriter.cxx cmDSPWriter.cxx cmMSProjectGenerator.cxx)
SOURCE_FILES(SRCS cmBorlandMakefileGenerator.cpp)
IF(NOT UNIX)
- SUBDIRS(MFCDialog)
+ IF( CMAKE_CXX_COMPILER MATCHES Borland )
+ ELSE (CMAKE_CXX_COMPILER MATCHES Borland )
+ SUBDIRS(MFCDialog)
+ ENDIF( CMAKE_CXX_COMPILER MATCHES Borland)
ENDIF(NOT UNIX)
ENDIF (WIN32)