termux-packages/packages/luv/CMakeLists.txt.patch

21 lines
830 B
Diff
Raw Normal View History

2021-02-05 22:42:00 +01:00
diff -uNr luv-1.36.0-0/CMakeLists.txt luv-1.36.0-0.mod/CMakeLists.txt
--- luv-1.36.0-0/CMakeLists.txt 2020-04-19 08:44:19.000000000 +0000
+++ luv-1.36.0-0.mod/CMakeLists.txt 2021-02-05 22:07:47.397165825 +0000
@@ -108,7 +108,6 @@
2021-06-23 00:24:12 +02:00
find_package(LuaJIT REQUIRED)
link_directories(${LUAJIT_LIBRARIES})
else()
- find_package(LuaJIT)
endif()
if(NOT LUAJIT_INCLUDE_DIR)
message( FATAL_ERROR "Failed to find LuaJIT headers. Variable `LUAJIT_INCLUDE_DIR' expected to be defined.")
2021-02-05 22:42:00 +01:00
@@ -187,7 +186,7 @@
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
target_link_libraries(${TARGET_NAME} ${LIBUV_LIBRARIES} rt)
else()
- target_link_libraries(${TARGET_NAME} ${LIBUV_LIBRARIES})
+ target_link_libraries(${TARGET_NAME} ${LIBUV_LIBRARIES} lua5.3)
endif()
endforeach()
2019-09-26 00:29:19 +02:00