File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,6 @@ add_dependencies(core_shared buildvm_output)
284284
285285list (APPEND TARGET_LIBS m)
286286
287- if (NOT LUAJIT_DISABLE_SYSPROF)
288- list (APPEND TARGET_LIBS ${LIBUNWIND_LIBRARIES} )
289- endif ()
290-
291287set (LIB_OBJECTS_STATIC
292288 $<TARGET_OBJECTS:vm_static>
293289 $<TARGET_OBJECTS:core_static>
@@ -344,7 +340,7 @@ set_target_properties(${LUAJIT_BIN} PROPERTIES
344340target_include_directories (${LUAJIT_BIN} PRIVATE
345341 ${CMAKE_CURRENT_BINARY_DIR}
346342)
347- target_link_libraries (${LUAJIT_BIN} ${LUAJIT_LIB} ${TARGET_LIBS} )
343+ target_link_libraries (${LUAJIT_BIN} ${LUAJIT_LIB} ${TARGET_LIBS} ${LIBUNWIND_LIBRARIES} )
348344
349345# XXX: The variable is used in testing, so PARENT_SCOPE option
350346# is obligatory.
You can’t perform that action at this time.
0 commit comments