tigersum/cmake/Modules/cmake-d/FindPhobos.cmake

6 lines
206 B
CMake
Raw Normal View History

2014-09-19 16:19:25 +00:00
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)