From 0ba6289dbba910c147202899dbbff15a6782e31d Mon Sep 17 00:00:00 2001 From: flithm Date: Wed, 29 Aug 2007 14:04:14 +0000 Subject: [PATCH] Minor fix will fullskeleton example -- fixes linking on dmd windows --- samples/FullSkeleton/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/samples/FullSkeleton/CMakeLists.txt b/samples/FullSkeleton/CMakeLists.txt index 9b30791..03cebaf 100755 --- a/samples/FullSkeleton/CMakeLists.txt +++ b/samples/FullSkeleton/CMakeLists.txt @@ -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