cmake_minimum_required(VERSION 2.8.12)

find_path(CMAKE_MODULE_PATH yamail.cmake
  HINTS ${CMAKE_INSTALL_PREFIX}/share/cmake_helpers
  /usr/share/cmake_helpers)
include(yamail)
include(./share/find_vdirectnodejs_dependencies.cmake)


set(DO_BUILD_STATICALLY FALSE)


yamail_project(vdirect_nodejs)
yamail_condemn_warnings()

yamail_conf_libdir()
yamail_configuration_message()

find_vdirectnodejs_dependencies()

yamail_include_directories("${Boost_INCLUDE_DIR}")

add_subdirectory(vdirect)

add_custom_target(
    check ALL
    DEPENDS
        vdirect_check
)
