tstellar wrote: I think if you do `set(LLVM_LINK_COMPONENTS nativecodegen)` it will work for both configurations. See https://github.com/llvm/llvm-project/blob/main/llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt#L13 https://github.com/llvm/llvm-project/pull/118542