mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fix documentation for enablng connector
This commit is contained in:
parent
1d57d28994
commit
7aa4edc0ea
@ -132,10 +132,10 @@ sqlpp11 requires a certain api in order to connect with the database, see databa
|
||||
Connectors for MySQL, MariaDB, sqlite3, sqlcipher are included in this repository. You can configure to use them via cmake options, i.e.
|
||||
|
||||
```
|
||||
-DMYSQL_CONNECTOR
|
||||
-DMARIADB_CONNECTOR
|
||||
-DSQLITE3_CONNECTOR
|
||||
-DSQLCIPHER_CONNECTOR
|
||||
-DMYSQL_CONNECTOR=ON
|
||||
-DMARIADB_CONNECTOR=ON
|
||||
-DSQLITE3_CONNECTOR=ON
|
||||
-DSQLCIPHER_CONNECTOR=ON
|
||||
```
|
||||
|
||||
Other connectors can be found here:
|
||||
|
@ -21,14 +21,10 @@
|
||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
if(MYSQL_CONNECTOR)
|
||||
if(MYSQL_CONNECTOR OR MARIADB_CONNECTOR)
|
||||
add_subdirectory(mysql)
|
||||
endif()
|
||||
|
||||
if(POSTGRESQL_CONNECTOR)
|
||||
add_subdirectory(postgresql)
|
||||
endif()
|
||||
|
||||
if(SQLITE3_CONNECTOR OR SQLCIPHER_CONNECTOR)
|
||||
add_subdirectory(sqlite3)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user