tigersum/cmake/Modules/cmake-d/FindPhobos.cmake
Michele Santullo 4e614e3dd5 First commit
2014-09-19 17:19:25 +01:00

5 lines
206 B
CMake

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)