diff --git a/.github/workflows/cmake_ci.yml b/.github/workflows/cmake_ci.yml index 83f1678..28494f2 100644 --- a/.github/workflows/cmake_ci.yml +++ b/.github/workflows/cmake_ci.yml @@ -24,6 +24,16 @@ jobs: - name: Install Boost library run: sudo apt-get update && sudo apt-get install libboost-all-dev -y + + - name: Install Qt + uses: jurplel/install-qt-action@v3 + with: + version: '6.6.0' + host: 'linux' + dir: ${{env.BUILD_PATH}} + aqtversion: '==3.1.*' + target: 'desktop' + arch: 'gcc_64' - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. diff --git a/source/Backend/CMakeLists.txt b/source/Backend/CMakeLists.txt index d20fcbe..b2dc9d3 100644 --- a/source/Backend/CMakeLists.txt +++ b/source/Backend/CMakeLists.txt @@ -1,8 +1,9 @@ project(PasswordManager) add_library(sqlite3 STATIC ${LIB_DIR}/sqlite3.c) + find_package(OpenSSL REQUIRED) -include_directories(${OPENSSL_INCLUDE_DIR}) +find_package(Boost REQUIRED) add_executable(passwordManager main.cpp @@ -10,8 +11,11 @@ add_executable(passwordManager Common/Logger.cpp) target_include_directories(sqlite3 PUBLIC ${LIB_DIR}) -target_link_libraries(passwordManager PRIVATE sqlite3 ${OPENSSL_LIBRARIES}) +target_link_libraries(passwordManager PRIVATE sqlite3 ${OPENSSL_LIBRARIES} ${Boost_LIBRARIES}) add_subdirectory(DataBase) -target_include_directories(passwordManager PRIVATE ${HEADERS_DIR}) +target_include_directories(passwordManager PRIVATE + ${HEADERS_DIR} + ${Boost_INCLUDE_DIRS} + ${OPENSSL_INCLUDE_DIR})