summaryrefslogtreecommitdiff
path: root/NodeStateAccess/interfaces/cmake/someip_stub_config.cmake.in
diff options
context:
space:
mode:
authorMonika Forstner <Monika_Forstner@mentor.com>2020-09-16 10:20:03 +0200
committerMonika Forstner <Monika_Forstner@mentor.com>2020-09-16 10:50:27 +0200
commit2fb502b4bc23aa13fee1db3395b3cae5e34cc871 (patch)
treed9cd2c64522f190500dc53291b4fbcf5100b9720 /NodeStateAccess/interfaces/cmake/someip_stub_config.cmake.in
parent253d10aada6bf5cdfe307aaff55363f08194c85e (diff)
downloadnode-state-manager-release_NSM_CommonAPI.tar.gz
NSM Release 3.0release_NSM_CommonAPI
Diffstat (limited to 'NodeStateAccess/interfaces/cmake/someip_stub_config.cmake.in')
-rw-r--r--NodeStateAccess/interfaces/cmake/someip_stub_config.cmake.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/NodeStateAccess/interfaces/cmake/someip_stub_config.cmake.in b/NodeStateAccess/interfaces/cmake/someip_stub_config.cmake.in
new file mode 100644
index 0000000..f53dae2
--- /dev/null
+++ b/NodeStateAccess/interfaces/cmake/someip_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 @SOMEIP_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 @SOMEIP_STUB_NAME@)
+ include("${GLUE_LIB_CMAKE_DIR}/@SOMEIP_STUB_NAME@Targets.cmake")
+endif()