******************************************************************************** conan install expat/2.2.7@#a18cd6fddfd2540cd898cd28644b3888 --build=expat -pr C:\J\w\prod\BuildSingleReference@3\61371\01475a32-7139-42b8-8d76-46b4c23e0029/profile_windows_16_mtd_vs_debug_64.expat-shared-False.txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference@3\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference@3\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=16 os=Windows [options] expat:shared=False [build_requires] [env] expat/2.2.7: Forced build from source Installing package: expat/2.2.7 Requirements expat/2.2.7 from local cache - Cache Packages expat/2.2.7:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK expat/2.2.7: Configuring sources in C:\J\w\prod\BuildSingleReference@3\.conan\data\expat\2.2.7\_\_\source expat/2.2.7: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK expat/2.2.7: Copying sources to build folder expat/2.2.7: Building your package in C:\J\w\prod\BuildSingleReference@3\.conan\data\expat\2.2.7\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260 expat/2.2.7: Generator txt created conanbuildinfo.txt expat/2.2.7: Calling generate() expat/2.2.7: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK expat/2.2.7: Calling build() expat/2.2.7: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\expat\2.2.7\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\expat\2.2.7\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/conan_toolchain.cmake -- Configuring incomplete, errors occurred! expat/2.2.7: CMake Error at conan_toolchain.cmake:27 (message): The CMake policy CMP0091 must be NEW, but is '' Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:4 (project) expat/2.2.7: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior expat/2.2.7: ERROR: Package 'b2b69efcc79a149e0bc765fb12ba0278d52fc260' build failed expat/2.2.7: WARN: Build folder C:\J\w\prod\BuildSingleReference@3\.conan\data\expat\2.2.7\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260 ERROR: expat/2.2.7: Error in build() method, line 82 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/build/b2b69efcc79a149e0bc765fb12ba0278d52fc260/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/expat/2.2.7/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\expat\2.2.7\_\_\build\b2b69efcc79a149e0bc765fb12ba0278d52fc260"