Skip to content

Commit

Permalink
Update FindSQLite3.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Sep 29, 2022
1 parent 2f174c6 commit 33ecdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindSQLite3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ if(MSVC)
endif()

# Workaround for https://github.com/gazebosim/gz-cmake/issues/312
if(TARGET SQLite3::SQLite3)
if(TARGET SQLite3::SQLite3 AND NOT TARGET SQLite::SQLite3)
add_library(SQLite::SQLite3 ALIAS SQLite3::SQLite3)
endif()

0 comments on commit 33ecdb1

Please sign in to comment.