summaryrefslogtreecommitdiffstats
path: root/cmake/vespaTargets.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/vespaTargets.cmake')
-rw-r--r--cmake/vespaTargets.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/vespaTargets.cmake b/cmake/vespaTargets.cmake
new file mode 100644
index 00000000000..f2e3a3f5a03
--- /dev/null
+++ b/cmake/vespaTargets.cmake
@@ -0,0 +1,7 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+# This file is included from vespaConfig.cmake and contains a list of
+# targets that are imported from vespa.
+
+add_library(searchlib SHARED IMPORTED)
+set_target_properties(searchlib PROPERTIES IMPORTED_LOCATION ${VESPA_HOME}/lib64/libsearchlib.so INTERFACE_INCLUDE_DIRECTORIES ${VESPA_INCLUDE_DIR})