Skip to content

Commit 309359c

Browse files
committed
Remove upstream cmake config warning
1 parent 19a6283 commit 309359c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# [unreleased]
2+
3+
## Changed
4+
- Updated slick-net-config.cmake.in file to remove cmake config warning.
5+
16
# [v1.2.2] - 2026-01-13
27
- Upgraded to slick-queue v1.2.2
38
- Renamed repository from slick_net to slick-net (hyphenated naming follows recommended convention)

cmake/slick-net-config.cmake.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
include(CMakeFindDependencyMacro)
44

55
# Find required dependencies
6-
find_dependency(Boost REQUIRED COMPONENTS beast context)
7-
find_dependency(OpenSSL REQUIRED)
6+
find_dependency(Boost CONFIG REQUIRED COMPONENTS beast context)
7+
find_dependency(OpenSSL CONFIG REQUIRED)
88

9-
# slick-queue is fetched automatically, but vcpkg users might have it installed
10-
find_package(slick-queue QUIET)
9+
find_package(slick-queue 1.2.2 CONFIG QUIET)
1110
if(NOT slick-queue_FOUND)
11+
message(STATUS "Fetching slick-queue...")
1212
include(FetchContent)
13+
# Disable slick-queue tests
1314
set(BUILD_SLICK_QUEUE_TESTS OFF CACHE BOOL "" FORCE)
1415
FetchContent_Declare(
1516
slick-queue

0 commit comments

Comments
 (0)