Skip to content

Commit 4ac51e8

Browse files
authored
Merge PR #6927: FIX(build): fix build with unbundled SOCI
2 parents e652473 + 6182317 commit 4ac51e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ else()
7474
list(APPEND components "PostgreSQL")
7575
endif()
7676

77-
find_pkg("Soci" 4.1.0 COMPONENTS ${components} REQUIRED)
77+
find_package("Soci" 4.1.0 COMPONENTS ${components} CONFIG REQUIRED)
7878
endif()
7979

8080
target_link_libraries(mumble_database PUBLIC SOCI::soci)

0 commit comments

Comments
 (0)