From 6e38f413d158034dd69bb2d461467140a97ae083 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Thu, 27 Oct 2022 19:23:02 +0200 Subject: [PATCH] Update FindSQLite3.cmake --- cmake/FindSQLite3.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/FindSQLite3.cmake b/cmake/FindSQLite3.cmake index 46a72a9a..9c30e1b5 100644 --- a/cmake/FindSQLite3.cmake +++ b/cmake/FindSQLite3.cmake @@ -59,7 +59,6 @@ endif() # Workaround for https://github.com/gazebosim/gz-cmake/issues/312 if(TARGET SQLite3::SQLite3 AND NOT TARGET SQLite::SQLite3) - add_library(SQLite::SQLite3 INTERFACE) add_library(SQLite::SQLite3 INTERFACE IMPORTED) # Equivalent to target_link_libraries INTERFACE, but compatible with CMake 3.10 set_target_properties(SQLite::SQLite3 PROPERTIES INTERFACE_LINK_LIBRARIES SQLite3::SQLite3)