Minor fix will fullskeleton example -- fixes linking on dmd windows

This commit is contained in:
flithm 2007-08-29 14:04:14 +00:00
parent 4889158b84
commit 0ba6289dbb

View file

@ -6,14 +6,14 @@
# is checked
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
# Using Phobos OR Tango (can be specified from cmake command line)
if (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO)
# default to phobos
message(STATUS "This application can be built with either Phobos or Tango!")
message(STATUS "You did not specify a standard library -- defaulting to Phobos.")
message(STATUS "If you wish to use Tango add -DCMAKE_D_USE_TANGO=True to cmake command line.")
# Using Phobos OR Tango (can be specified from cmake command line)
if (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO)
# default to phobos
message(STATUS "This application can be built with either Phobos or Tango!")
message(STATUS "You did not specify a standard library -- defaulting to Phobos.")
message(STATUS "If you wish to use Tango add -DCMAKE_D_USE_TANGO=True to cmake command line.")
set(CMAKE_D_USE_PHOBOS True)
endif (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO)
endif (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO)
# check for DDoc usage
include(UseDDoc)
@ -22,7 +22,7 @@ include(UseDDoc)
# Project
##############
project(FullSkeleton D C)
project(FullSkeleton D)
#################################
# Defines