From f4bea3099180737ed31c20af45fa1116e82ca13d Mon Sep 17 00:00:00 2001
From: lintao <lintao51@gmail.com>
Date: Mon, 18 Jan 2021 10:39:44 +0800
Subject: [PATCH] WIP: fix typo.

fix typo.
---
 Examples/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Examples/CMakeLists.txt b/Examples/CMakeLists.txt
index c990ee16..6d37ea63 100644
--- a/Examples/CMakeLists.txt
+++ b/Examples/CMakeLists.txt
@@ -19,7 +19,7 @@ gaudi_add_module(Examples
 )
 
 if (GenFit_FOUND)
-  target_link_library(Examples GenFit::genfit2)
+  target_link_libraries(Examples PUBLIC GenFit::genfit2)
 endif()
 
 target_include_directories(Examples PUBLIC
-- 
GitLab