diff --git a/CMakeLists.txt b/CMakeLists.txt index 5193158..4111a8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ FOREACH(file Kyuafile libpkgconf.pc tests/Kyuafile tests/test_env.sh) ENDFOREACH() IF (WIN32) - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Wx") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") ELSE() SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -std=gnu99") ENDIF() diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 3538a53..6cf6723 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -27,6 +27,11 @@ # # This script is primarily intended for travis CI to be able to setup the # build environment. +# +# To run on a clean Ubuntu system, try something like this: +# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig +# sudo apt install liblua5.2-dev libsqlite3-dev +# sh -ex scripts/install_deps.sh install_from_github() { local name="${1}"