Fix build
Some checks failed
dropshell-build / build (push) Failing after 10s

This commit is contained in:
j842
2025-06-10 16:06:28 +12:00
parent 95772be1a5
commit 8b26f93683
4 changed files with 20 additions and 10 deletions

View File

@ -17,6 +17,14 @@ find_package(Threads REQUIRED)
# Find SQLite3 using pkg-config as fallback
pkg_check_modules(SQLite3 REQUIRED sqlite3)
# Add custom target to run cmake_prebuild.sh at the start of the build process
add_custom_target(run_prebuild_script ALL
COMMAND ${CMAKE_COMMAND} -E echo "Running cmake_prebuild.sh..."
COMMAND ${CMAKE_COMMAND} -E env bash ${CMAKE_CURRENT_SOURCE_DIR}/cmake_prebuild.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
add_executable(test_libs test_libs.cpp)
target_link_libraries(test_libs