Skip to content

Commit 4b10afb

Browse files
committed
fixup
1 parent 7817ca8 commit 4b10afb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,6 @@ add_dependencies(core_shared buildvm_output)
284284

285285
list(APPEND TARGET_LIBS m)
286286

287-
if(NOT LUAJIT_DISABLE_SYSPROF)
288-
list(APPEND TARGET_LIBS ${LIBUNWIND_LIBRARIES})
289-
endif()
290-
291287
set(LIB_OBJECTS_STATIC
292288
$<TARGET_OBJECTS:vm_static>
293289
$<TARGET_OBJECTS:core_static>
@@ -344,7 +340,7 @@ set_target_properties(${LUAJIT_BIN} PROPERTIES
344340
target_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.

0 commit comments

Comments
 (0)