Phobos dmd linux fixes
Added check that if a stdlib isn't found and the project needs it an error message is printed
This commit is contained in:
parent
4dce6b3a41
commit
51095a9d7d
3 changed files with 11 additions and 2 deletions
|
@ -158,7 +158,7 @@ IF(CMAKE_D_USE_PHOBOS)
|
|||
SET(DSTDLIB_FLAGS "-lgphobos")
|
||||
ELSE(CMAKE_COMPILER_IS_GDC)
|
||||
SET(DSTDLIB_TYPE "-version=Phobos")
|
||||
SET(DSTDLIB_FLAGS "-L${D_PATH}/lib -ltango -lphobos")
|
||||
SET(DSTDLIB_FLAGS "-L${D_PATH}/lib -lphobos")
|
||||
ENDIF(CMAKE_COMPILER_IS_GDC)
|
||||
ENDIF(CMAKE_D_USE_PHOBOS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue