Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / drogon / fix_find_package.patch
blobb76dbfe4883055e0fd67b45af86c3a8a21c1b412
1 diff --git a/test.sh b/test.sh
2 index f017b9a..027031e 100755
3 --- a/test.sh
4 +++ b/test.sh
5 @@ -135,7 +135,7 @@ if [ $os = "windows" ]; then
6 conan install $src_dir -s compiler="Visual Studio" -s compiler.version=16 -sbuild_type=Debug -g cmake_paths
7 cmake_gen="$cmake_gen -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake -DCMAKE_INSTALL_PREFIX=$src_dir/install"
8 fi
9 -cmake .. $cmake_gen
10 +cmake .. $cmake_gen -DDrogon_DIR=$out/lib/cmake/Drogon -DTrantor_DIR=$out/lib/cmake/Trantor
12 if [ $? -ne 0 ]; then
13 echo "Failed to run CMake for example project"