Skip to content

Commit 76849f2

Browse files
committed
🔧 explicitly set linker language for QIR executables
Signed-off-by: burgholzer <burgholzer@me.com>
1 parent da279e4 commit 76849f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/qir/runtime/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ macro(ADD_QIR_CIRCUIT target_name circuit_path)
2121
COMMENT "Compiling ${circuit_path} to ${circuit_name}.o")
2222
add_executable(${target_name} ${circuit_name}.o)
2323
target_link_libraries(${target_name} PRIVATE MQT::CoreQIRRuntime)
24+
set_target_properties(${target_name} PROPERTIES LINKER_LANGUAGE CXX)
2425
endif()
2526
endmacro()
2627

0 commit comments

Comments
 (0)