Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmake/CorosioBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function(corosio_find_tls_provider name)
"PACKAGE;MINGW_TARGET"
"LINK_TARGETS;MINGW_LIBS;WIN32_LIBS;FRAMEWORKS" ${ARGN})

find_package(${_ARGS_PACKAGE})
find_package(${_ARGS_PACKAGE} QUIET)

# MinGW's linker is single-pass and order-sensitive; system libs must
# follow the static libraries that reference them
Expand All @@ -123,6 +123,7 @@ function(corosio_find_tls_provider name)
endif()

if(${_ARGS_PACKAGE}_FOUND)
message(STATUS "Building with ${_ARGS_PACKAGE} support")
corosio_add_tls_library(${name})
target_link_libraries(boost_corosio_${name} PUBLIC ${_ARGS_LINK_TARGETS})
if(WIN32 AND NOT MINGW AND _ARGS_WIN32_LIBS)
Expand Down
Loading