summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Dart.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake
index c2459c8..8a7a90c 100644
--- a/Modules/Dart.cmake
+++ b/Modules/Dart.cmake
@@ -85,11 +85,11 @@ IF(BUILD_TESTING)
IF(NOT DART_COMPILER)
SET(DART_COMPILER "unknown")
ENDIF(NOT DART_COMPILER)
- IF(WIN32)
- GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" NAME_WE)
- ELSE(WIN32)
+ IF(UNIX OR BORLAND)
GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_CXX_COMPILER}" NAME)
- ENDIF(WIN32)
+ ELSE(UNIX OR BORLAND)
+ GET_FILENAME_COMPONENT(DART_CXX_NAME "${CMAKE_BUILD_TOOL}" NAME_WE)
+ ENDIF(UNIX OR BORLAND)
SET(BUILDNAME "${CMAKE_SYSTEM_NAME}-${DART_CXX_NAME}")
ENDIF(NOT BUILDNAME)
#BUILD_NAME(BUILDNAME)
@@ -103,7 +103,6 @@ IF(BUILD_TESTING)
BUILD_WARNING_REPORT_LIMIT
BUILD_ERROR_REPORT_LIMIT
SITE
- BUILDNAME
MAKECOMMAND
JAVACOMMAND
PURIFYCOMMAND
@@ -115,6 +114,7 @@ IF(BUILD_TESTING)
SCPCOMMAND
DELIVER_CONTINUOUS_EMAIL
)
+ # BUILDNAME
#
# Section #2: