open62541Config.cmake.in 870 B

1234567891011121314151617181920212223
  1. @PACKAGE_INIT@
  2. include("${CMAKE_CURRENT_LIST_DIR}/open62541Targets.cmake")
  3. set (open62541_TOOLS_DIR @PACKAGE_open62541_install_tools_dir@ CACHE PATH "Path to the directory that contains the tooling of the stack")
  4. set (open62541_NODESET_DIR @PACKAGE_open62541_install_nodeset_dir@ CACHE PATH "Path to the directory that contains the OPC UA schema repository")
  5. include(CMakeFindDependencyMacro)
  6. find_dependency(PythonInterp REQUIRED)
  7. include("${CMAKE_CURRENT_LIST_DIR}/open62541Macros.cmake")
  8. set(open62541_COMPONENTS_ALL @open62541_enabled_components@)
  9. foreach(_comp ${open62541_FIND_COMPONENTS})
  10. list (FIND open62541_COMPONENTS_ALL "${_comp}" _index)
  11. if (${_index} LESS 0)
  12. set(open62541_FOUND False)
  13. set(open62541_NOTFOUND_MESSAGE "Unsupported open62541 component: ${_comp}")
  14. message(WARNING "${open62541_NOTFOUND_MESSAGE}")
  15. endif()
  16. endforeach()