From 4f004bf60160e8242c14c2f2f9cc8be2ed983671 Mon Sep 17 00:00:00 2001 From: "Stefan J. Wernli" Date: Tue, 6 Dec 2022 22:12:25 +0000 Subject: [PATCH] Fix linux omp dependency --- examples/QIR/Development/Development.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/QIR/Development/Development.csproj b/examples/QIR/Development/Development.csproj index b00888c0f42..08f3c26aa01 100644 --- a/examples/QIR/Development/Development.csproj +++ b/examples/QIR/Development/Development.csproj @@ -108,7 +108,8 @@ $(PkgMicrosoft_Quantum_Simulators)/runtimes/win-x64/native $(PkgMicrosoft_Quantum_Simulators)/runtimes/linux-x64/native -fseh-exceptions -lstdc++ - clang -std=c++17 -Wno-override-module $(ClangOptions) -o $(ExecutablePath) $(QirOutputPath)$(PathCompatibleAssemblyName).ll $(BuildOutputPath)/Main.cpp -I$(BuildOutputPath) -L$(BuildOutputPath) -lMicrosoft.Quantum.Simulator.Runtime + -lomp + clang -std=c++17 -Wno-override-module $(ClangOptions) -o $(ExecutablePath) $(QirOutputPath)$(PathCompatibleAssemblyName).ll $(BuildOutputPath)/Main.cpp -I$(BuildOutputPath) -L$(BuildOutputPath) -lMicrosoft.Quantum.Simulator.Runtime $(OmpOptions) <_SimulatorLibraries Include="$(SimulatorFolder)/*.*" />