Skip to content

Commit 7675013

Browse files
authored
Fix PACKAGE_MANAGER validation in CMakeLists.txt (#309)
Fixes #308
1 parent c03bf7c commit 7675013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12)
22

33
if (PACKAGE_MANAGER)
4-
if(PACKAGE_MANAGER NOT MATCHES "^(hunter|vcpkg)$")
4+
if(NOT PACKAGE_MANAGER MATCHES "^(hunter|vcpkg)$")
55
message(FATAL_ERROR "PACKAGE_MANAGER must be set to 'hunter', 'vcpkg' or isn't set")
66
endif ()
77
else ()

0 commit comments

Comments
 (0)