diff options
Diffstat (limited to 'NodeStateAccess/interfaces/cmake/core_stub_config.cmake.in')
-rw-r--r-- | NodeStateAccess/interfaces/cmake/core_stub_config.cmake.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/NodeStateAccess/interfaces/cmake/core_stub_config.cmake.in b/NodeStateAccess/interfaces/cmake/core_stub_config.cmake.in new file mode 100644 index 0000000..4b9c3a6 --- /dev/null +++ b/NodeStateAccess/interfaces/cmake/core_stub_config.cmake.in @@ -0,0 +1,27 @@ +####################################################################################################################### +# +# Copyright (C) 2020 Mentor Graphics (Deutschland) GmbH +# +# Author: Sven_Hassler@mentor.com +# +# CMake file of NSM Interfaces +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +####################################################################################################################### + +# Automatically find dependency packages when using this package: +include(CMakeFindDependencyMacro) + +foreach(DEPENDENCY @CORE_STUB_LINK_LIBRARIES@) + find_dependency(${DEPENDENCY} REQUIRED) +endforeach() + +# Include the target file: +get_filename_component(GLUE_LIB_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) + +if(NOT TARGET @CORE_STUB_NAME@) + include("${GLUE_LIB_CMAKE_DIR}/@CORE_STUB_NAME@Targets.cmake") +endif() |