Skip to content

Commit

Permalink
Fix WithSharedLibluv OFF not linking against static uv (#191)
Browse files Browse the repository at this point in the history
See luvit/luv#297 for the same issue when it affected the luv repo
  • Loading branch information
squeek502 authored and rphillips committed Feb 20, 2019
1 parent 5a81309 commit 0620769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ else (WithSharedLibluv)
include_directories(deps/luv/deps/libuv/include)
if (WITH_LUA_ENGINE STREQUAL Lua)
include_directories(deps/luv/deps/lua/src)
set(LUVI_LIBRARIES luv lualib uv)
set(LUVI_LIBRARIES luv lualib uv_a)
else()
include_directories(deps/luv/deps/luajit/src)
set(LUVI_LIBRARIES luv luajit-5.1 uv)
set(LUVI_LIBRARIES luv luajit-5.1 uv_a)
endif()
add_subdirectory(deps/luv)
endif (WithSharedLibluv)
Expand Down

0 comments on commit 0620769

Please sign in to comment.