Add FindPhobos.cmake
This commit is contained in:
parent
79f451031b
commit
24422fdac3
2 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@ SET (MOD_SRCS
|
|||
UseDDeps.cmake
|
||||
dependencies.cmake
|
||||
UseDUnittest.cmake
|
||||
FindPhobos.cmake
|
||||
)
|
||||
|
||||
SET (PLAT_SRCS
|
||||
|
|
5
cmaked/FindPhobos.cmake
Normal file
5
cmaked/FindPhobos.cmake
Normal 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)
|
Loading…
Add table
Reference in a new issue