Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: remove workaround for incorrectly packaged libluv
This removes a workaround for incorrectly packaged libluv in 90e44ec as it should not be needed anymore.
- Loading branch information
Showing
2 changed files
with
3 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
find_path(LIBLUV_INCLUDE_DIR luv/luv.h) | ||
|
||
# Explicitly look for luv.so. #10407 | ||
list(APPEND LIBLUV_NAMES luv_a luv libluv_a luv${CMAKE_SHARED_LIBRARY_SUFFIX}) | ||
|
||
find_library(LIBLUV_LIBRARY NAMES ${LIBLUV_NAMES}) | ||
|
||
set(LIBLUV_LIBRARIES ${LIBLUV_LIBRARY}) | ||
set(LIBLUV_INCLUDE_DIRS ${LIBLUV_INCLUDE_DIR}) | ||
|
||
find_library(LIBLUV_LIBRARY NAMES luv_a luv libluv_a luv.so) | ||
find_package_handle_standard_args(Libluv DEFAULT_MSG | ||
LIBLUV_LIBRARY LIBLUV_INCLUDE_DIR) | ||
|
||
mark_as_advanced(LIBLUV_INCLUDE_DIR LIBLUV_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters