File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -278,16 +278,17 @@ target_include_directories(core_shared PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
278
278
add_dependencies (core_static buildvm_output)
279
279
add_dependencies (core_shared buildvm_output)
280
280
281
+ if (${LIBUNWIND_FOUND} )
282
+ target_link_libraries (core_static PRIVATE ${LIBUNWIND_LIBRARIES} )
283
+ target_link_libraries (core_shared PRIVATE ${LIBUNWIND_LIBRARIES} )
284
+ endif ()
285
+
281
286
# --- Generate output ----------------------------------------------------------
282
287
283
288
# Compiling and linking library binaries (static, shared).
284
289
285
290
list (APPEND TARGET_LIBS m)
286
291
287
- if (NOT LUAJIT_DISABLE_SYSPROF)
288
- list (APPEND TARGET_LIBS ${LIBUNWIND_LIBRARIES} )
289
- endif ()
290
-
291
292
set (LIB_OBJECTS_STATIC
292
293
$<TARGET_OBJECTS:vm_static>
293
294
$<TARGET_OBJECTS:core_static>
You can’t perform that action at this time.
0 commit comments