We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c1a78c commit 213f959Copy full SHA for 213f959
src/CMakeLists.txt
@@ -277,3 +277,8 @@ if(LLVM_FOUND)
277
endif()
278
279
set(RUNTIME_LIBRARIES runtime ${RUNTIME_JIT_LIBRARIES} PARENT_SCOPE)
280
+# If the runtime is built as a static library, individual
281
+# dependencies must be exported via CMake packaging
282
+if(NOT AnyDSL_runtime_BUILD_SHARED)
283
+ set(RUNTIME_LIBRARIES ${RUNTIME_LIBRARIES} runtime_base ${RUNTIME_PLATFORMS} PARENT_SCOPE)
284
+endif()
0 commit comments