1if(NOT trout_NATIVE_VHAL_ROOT_DIR)
2  set(trout_NATIVE_VHAL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/default_native_vhal)
3endif()
4
5if(EXISTS "${trout_NATIVE_VHAL_ROOT_DIR}")
6  set(trout_NAVTIVE_VHAL_LIBRARIES "vhal_default_impl_lib")
7
8  set(trout_NAVTIVE_VHAL_COMMON_INCLUDE_DIRS
9      "${trout_NATIVE_VHAL_ROOT_DIR}"
10      "${trout_NATIVE_VHAL_ROOT_DIR}/common/include"
11      "${trout_NATIVE_VHAL_ROOT_DIR}/common/include/vhal_v2_0")
12  set(trout_NAVTIVE_VHAL_IMPL_INCLUDE_DIRS "${trout_NATIVE_VHAL_ROOT_DIR}/impl")
13else()
14  message(FATAL_ERROR "${trout_NATIVE_VHAL_ROOT_DIR} not found")
15endif()
16