about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/drogon/fix_find_package.patch
blob: b76dbfe4883055e0fd67b45af86c3a8a21c1b412 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test.sh b/test.sh
index f017b9a..027031e 100755
--- a/test.sh
+++ b/test.sh
@@ -135,7 +135,7 @@ if [ $os = "windows" ]; then
   conan install $src_dir -s compiler="Visual Studio" -s compiler.version=16 -sbuild_type=Debug -g cmake_paths
   cmake_gen="$cmake_gen -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake -DCMAKE_INSTALL_PREFIX=$src_dir/install"
 fi
-cmake .. $cmake_gen
+cmake .. $cmake_gen -DDrogon_DIR=$out/lib/cmake/Drogon -DTrantor_DIR=$out/lib/cmake/Trantor
 
 if [ $? -ne 0 ]; then
     echo "Failed to run CMake for example project"