build;gitlab: set CMAKE_MODULE_PATH to our local cmake modules

This commit is contained in:
Danny Robson 2019-06-29 09:13:26 +10:00
parent 2089893124
commit 0db1d54a93

View File

@ -14,7 +14,7 @@ build:
script:
- git clone git://git.nerdcruft.net/cmake
- mkdir build && cd build
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON
- cmake .. -G Ninja -DCMAKE_MODULE_PATH=`realpath ..`/cmake -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON
- ninja
artifacts:
untracked: true