Changeset 26

Show
Ignore:
Timestamp:
08/29/07 07:35:50 (1 year ago)
Author:
flithm
Message:

Fixes for detecting standard library

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cmaked/CMakeTestDCompiler.cmake

    r24 r26  
    159159  SET(CMAKE_D_TANGO_WORKS 1 CACHE INTERNAL "") 
    160160ENDIF(NOT CMAKE_D_TANGO_WORKS) 
     161 
     162# if both tango and phobos are selected try to choose which one is available 
     163IF(CMAKE_D_USE_TANGO AND CMAKE_D_USE_PHOBOS) 
     164    MESSAGE(FATAL_ERROR "Tango AND Phobos selected, please choose one or the other!") 
     165ENDIF(CMAKE_D_USE_TANGO AND CMAKE_D_USE_PHOBOS) 
     166 
    161167# ensure the user has the appropriate std lib available 
    162168IF(CMAKE_D_USE_TANGO AND NOT CMAKE_D_TANGO_WORKS)