File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/postgresql@16;C:\Program Files\PostgreSQL\16"
6565 -DENABLE_MAINTAINER_CFLAGS=${{ matrix.build_type == 'Debug' }}
6666 -DBUILD_SHARED_LIBS=ON
67- -DDRIVER_MYSQL =${{ runner.os == 'Linux' }}
67+ -DASQL_DRIVER_MYSQL =${{ runner.os == 'Linux' }}
6868 -DASQL_DRIVER_ODBC=${{ runner.os == 'Linux' }}
6969
7070 - name : Build project
8787 -DCMAKE_BUILD_TYPE=Debug
8888 -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/postgresql@16;C:\Program Files\PostgreSQL\16"
8989 -DBUILD_SHARED_LIBS=OFF
90- -DDRIVER_MYSQL =${{ runner.os == 'Linux' }}
90+ -DASQL_DRIVER_MYSQL =${{ runner.os == 'Linux' }}
9191 -DASQL_DRIVER_ODBC=${{ runner.os == 'Linux' }}
9292
9393 - name : Build project
Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ if (ASQL_DRIVER_POSTGRES)
6969 find_package (PostgreSQL REQUIRED )
7070endif ()
7171
72- option (DRIVER_MYSQL "Enable MySQL Driver" ON )
73- if (DRIVER_MYSQL )
72+ option (ASQL_DRIVER_MYSQL "Enable MySQL Driver" ON )
73+ if (ASQL_DRIVER_MYSQL )
7474 find_package (MySQL REQUIRED )
7575endif ()
7676
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ if (ASQL_DRIVER_SQLITE)
99 add_subdirectory (sqlite )
1010endif ()
1111
12- if (DRIVER_MYSQL )
12+ if (ASQL_DRIVER_MYSQL )
1313 add_subdirectory (mysql )
1414endif ()
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ if (ASQL_DRIVER_POSTGRES)
213213endif () # End Postgres Driver
214214
215215## MySQL Driver
216- if (DRIVER_MYSQL )
216+ if (ASQL_DRIVER_MYSQL )
217217 set (asql_mysql_SRC
218218 adrivermysql.cpp
219219 adrivermysql.h
@@ -432,7 +432,7 @@ if (ASQL_MIGRATION_TOOL)
432432 target_link_libraries (${TARGET_ASQL_MIGRATION_CMD} PRIVATE ASql::Odbc )
433433 target_compile_definitions (${TARGET_ASQL_MIGRATION_CMD} PRIVATE DRIVER_ODBC )
434434 endif ()
435- if (DRIVER_MYSQL )
435+ if (ASQL_DRIVER_MYSQL )
436436 target_link_libraries (${TARGET_ASQL_MIGRATION_CMD} PRIVATE ASql::Mysql )
437437 target_compile_definitions (${TARGET_ASQL_MIGRATION_CMD} PRIVATE DRIVER_MYSQL )
438438 endif ()
You can’t perform that action at this time.
0 commit comments