Commit e5bcbb09 authored by jan.koester's avatar jan.koester
Browse files

package ready

parent e4912842
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ add_library(dbpp STATIC
    $<TARGET_OBJECTS:backend>
)

target_link_libraries(dbpp sqlite3 pq)
target_link_libraries(dbpp ${SQLite3_LIBRARIES} ${PostgreSQL_LIBRARIES})

install(TARGETS dbpp DESTINATION lib EXPORT dbppTargets)

+2 −1
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ dbpp::SQL& dbpp::SQL::operator<<(const SQL &sql){
    if(!_SQL.empty() && _SQL.back()=='\0')
        _SQL.pop_back();

    if(&sql!=this)
        std::copy(sql._SQL.begin(),sql._SQL.end(),std::back_inserter(_SQL));

    if(_SQL.back()!='\0')