Skip to content

Unknown CMake command "sw_add_package". #121

Open
@heartblueflower

Description

@heartblueflower

Describe the bug
--------------------------Developer Command Prompt for VS 2022-------------------------------
`D:\Program Files\sw\test\integrations>sw --version
sw.client.sw version 1.0.0
git revision 3061120
assembled on
13.06.2023 21:33:07 UTC
14.06.2023 05:33:07 й׼ʱ

D:\Program Files\sw\test\integrations>sw setup

D:\Program Files\sw\test\integrations>cd build

D:\Program Files\sw\test\integrations\build>cmake --version
cmake version 3.27.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

D:\Program Files\sw\test\integrations\build>cmake ..
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
CMake Error at CMakeLists.txt:11 (sw_add_package):
Unknown CMake command "sw_add_package".

-- Configuring incomplete, errors occurred!`

Expected behavior
cmake succuss

Information:
/

  • sw.client.sw version 1.0.0
    git revision 3061120
    assembled on
    13.06.2023 21:33:07 UTC
    14.06.2023 05:33:07
  • WIN10 22H2 x86_64
  • cmake version 3.27.0 , Developer Command Prompt for VS 2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions