Skip to content

error of CMake execution #151

@cxmGitHub

Description

@cxmGitHub

I have installed cairo(x64-windows) and graphicsmagick(x64-windows) successful. And I run the CMake execution commands in cmd mode successful:
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
git clone --recurse-submodules https://github.com/cpp-io2d/P0267_RefImpl
cd P0267_RefImpl
mkdir Debug
cd Debug
But when I run the command:
D:\vcpkg\P0267_RefImpl\Debug>cmake -G "Visual Studio 15 2017 Win64" --config Debug "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_TOOLCHAIN_FILE=d:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" ../.
It's error, it outputs:
CMake Warning:
Ignoring extra path from command line:
"D:/vcpkg/P0267_RefImpl/Debug/Debug"
CMake Error: Unknown argument --config
CMake Error: Run 'cmake --help' for all supported options.

How should I modify it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions