diff --git a/third_party/SQLite/CMakeLists.txt b/third_party/SQLite/CMakeLists.txt index 5a38c29ec41..5e4a94e5e65 100644 --- a/third_party/SQLite/CMakeLists.txt +++ b/third_party/SQLite/CMakeLists.txt @@ -20,5 +20,12 @@ if (MSVC) ADD_LIBRARY( sqlite ${SRC} ) else() ADD_LIBRARY( sqlite SHARED ${SRC} ) + + set_target_properties( + sqlite + PROPERTIES + INSTALL_NAME_DIR "@executable_path" + ) + install( TARGETS sqlite DESTINATION ./ ) endif()