--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ option(USE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." OFF) # Component dependency options -cmake_dependent_option(USE_PKGCONFIG "Use pkg-config to search for dependent libraries." ON "NOT WIN32" OFF) +cmake_dependent_option(USE_PKGCONFIG "Use pkg-config to search for dependent libraries." ON "NOT MSVC" OFF) option(USE_HOUDINI [=[ Build the library against a Houdini installation. Turns on automatically if OPENVDB_BUILD_HOUDINI_PLUGIN is enabled. When enabled, you do not need to provide dependency locations for TBB, Blosc, Imath and OpenEXR. Boost must be