Skip to content

Commit

Permalink
Fix check for disabling TILEDB_VCPKG.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Jun 13, 2024
1 parent a6eccfe commit 7d6521d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Options/BuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (DEFINED TILEDB_STATIC)
endif()
endif()

if (NOT TILEDB_VCPKG)
if (DEFINED TILEDB_VCPKG AND NOT TILEDB_VCPKG)
message(FATAL_ERROR "Disabling TILEDB_VCPKG is not supported. To disable automatically downloading vcpkg, enable the TILEDB_DISABLE_AUTO_VCPKG option, or set ENV{TILEDB_DISABLE_AUTO_VCPKG} to any value.")
endif()

Expand Down

0 comments on commit 7d6521d

Please sign in to comment.