-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown CMake command "sw_add_package". #121
Comments
Hi, Post outputs.
|
I downloaded and installed the latest version of CMake from https://cmake.org/download/ D:\Program Files\sw\test\integrations\build>where cmake
|
Is it from Can you post your |
Yes, I ran these commands under Visual Studio 2022 Developer Command Prompt v17.3.0.
|
|
I followed the steps above but the issue still persists. Then I tried to recompile SW and got the following result `D:\sw>sw --version D:\sw>sw build -static |
Please post cmake output from clean run. As for your sw build, I've checked, it works for me. |
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:
/
git revision 3061120
assembled on
13.06.2023 21:33:07 UTC
14.06.2023 05:33:07
The text was updated successfully, but these errors were encountered: