Minor fix will fullskeleton example -- fixes linking on dmd windows
This commit is contained in:
parent
4889158b84
commit
0ba6289dbb
1 changed files with 8 additions and 8 deletions
|
@ -6,14 +6,14 @@
|
||||||
# is checked
|
# is checked
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
|
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
|
||||||
|
|
||||||
# Using Phobos OR Tango (can be specified from 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)
|
if (NOT CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_USE_TANGO)
|
||||||
# default to phobos
|
# default to phobos
|
||||||
message(STATUS "This application can be built with either Phobos or Tango!")
|
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 "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.")
|
message(STATUS "If you wish to use Tango add -DCMAKE_D_USE_TANGO=True to cmake command line.")
|
||||||
set(CMAKE_D_USE_PHOBOS True)
|
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
|
# check for DDoc usage
|
||||||
include(UseDDoc)
|
include(UseDDoc)
|
||||||
|
@ -22,7 +22,7 @@ include(UseDDoc)
|
||||||
# Project
|
# Project
|
||||||
##############
|
##############
|
||||||
|
|
||||||
project(FullSkeleton D C)
|
project(FullSkeleton D)
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Defines
|
# Defines
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue