-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes stage0 linking on Windows against winsock. --------- Co-authored-by: Sebastian Ullrich <[email protected]>
- Loading branch information
Showing
8 changed files
with
34 additions
and
27 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
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
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
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
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
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,12 +1,13 @@ | ||
if (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARIES) | ||
if (LIBUV_FOUND) | ||
# Already in cache, be silent | ||
set(LIBUV_FIND_QUIETLY TRUE) | ||
endif (LIBUV_INCLUDE_DIR AND LIBUV_LIBRARIES) | ||
endif (LIBUV_FOUND) | ||
|
||
find_path(LIBUV_INCLUDE_DIR NAMES uv.h) | ||
find_library(LIBUV_LIBRARIES NAMES uv libuv REQUIRED) | ||
MESSAGE(STATUS "LIBUV: " ${LIBUV_LIBRARIES}) | ||
find_package(PkgConfig REQUIRED) | ||
pkg_search_module(LIBUV REQUIRED libuv) | ||
MESSAGE(STATUS "LIBUV_LDFLAGS: " ${LIBUV_LDFLAGS}) | ||
MESSAGE(STATUS "LIBUV_INCLUDE_DIRS: " ${LIBUV_INCLUDE_DIRS}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibUV DEFAULT_MSG LIBUV_INCLUDE_DIR LIBUV_LIBRARIES) | ||
mark_as_advanced(LIBUV_INCLUDE_DIR LIBUV_LIBRARIES) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibUV DEFAULT_MSG LIBUV_FOUND) | ||
mark_as_advanced(LIBUV_INCLUDE_DIRS LIBUV_LDFLAGS) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.