diff options
-rw-r--r-- | .appveyor.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 01e64e7c..5abe2ec7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,10 +20,11 @@ before_build: - git submodule update --init --recursive - git clone https://gitlab.matrix.org/matrix-org/olm.git - cd olm -- cmake . -Bbuild -DBUILD_SHARED_LIBS=NO +- cmake . -Bbuild -DBUILD_SHARED_LIBS=NO -DCMAKE_INSTALL_PREFIX=install - cmake --build build +- cmake --build build --target install - cd .. -- cmake -G "NMake Makefiles JOM" -H. -Bbuild -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="%DEPLOY_DIR%" -DOlm_DIR="./olm/build" +- cmake -G "NMake Makefiles JOM" -H. -Bbuild -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="%DEPLOY_DIR%" -DOlm_DIR="olm/install/lib/cmake/Olm" build_script: - cmake --build build |