Add FindPhobos.cmake

This commit is contained in:
Jens Mueller 2010-11-03 22:13:54 +01:00
parent 79f451031b
commit 24422fdac3
2 changed files with 6 additions and 0 deletions

View file

@ -23,6 +23,7 @@ SET (MOD_SRCS
UseDDeps.cmake
dependencies.cmake
UseDUnittest.cmake
FindPhobos.cmake
)
SET (PLAT_SRCS

5
cmaked/FindPhobos.cmake Normal file
View file

@ -0,0 +1,5 @@
find_path(PHOBOS_INCLUDE_DIR std/file.d)
find_library(PHOBOS_LIBRARY phobos2)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Phobos DEFAULT_MSG PHOBOS_LIBRARY PHOBOS_INCLUDE_DIR)