Skip to content

Commit

Permalink
Try using glib
Browse files Browse the repository at this point in the history
  • Loading branch information
SchaichAlonso authored Mar 5, 2024
1 parent 29c80a7 commit 8c167a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ jobs:
with:
submodules: 'recursive'

#- name: Configure
# # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
# run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Setup Ubuntu
if: ${{ matrix.runner == 'ubuntu-22.04' }}
run: apt install -y glib-dev

- name: Configure
working-directory: ${{github.workspace}}
Expand Down
3 changes: 1 addition & 2 deletions demo.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#include <stdio.h>
#include <stdlib.h>

#include <sqlite3.h>
#include <glib.h>

int main() {
printf("Linked Against SQLite3 Version: %s\n", sqlite3_libversion());
return EXIT_SUCCESS;
}
1 change: 0 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"name": "sqlite-vcpkg-integration-demo",
"version-string": "0.0.1",
"dependencies": [
"sqlite3"
]
}

0 comments on commit 8c167a6

Please sign in to comment.