diff --git a/python/tests/interop/quantum_lib/CMakeLists.txt b/python/tests/interop/quantum_lib/CMakeLists.txt index 34fb024188..21bb37a4d7 100644 --- a/python/tests/interop/quantum_lib/CMakeLists.txt +++ b/python/tests/interop/quantum_lib/CMakeLists.txt @@ -11,3 +11,4 @@ set(CMAKE_CXX_COMPILE_OBJECT " -fPIC --enable-mlir --disable # FIXME Error with SHARED, it pulls in all the mlir libraries anyway add_library(quantum_lib OBJECT quantum_lib.cpp) +add_dependencies(quantum_lib nvq++ cudaq-opt cudaq-quake cudaq-translate)