Skip to content

Commit

Permalink
Update FindSQLite3.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Oct 27, 2022
1 parent 39af589 commit 6e38f41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/FindSQLite3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6e38f41

Please sign in to comment.