invalid cmake target while building
Opened this issue · 3 comments
ybiao-he commented
chuchunchi commented
@ybiao-he Hi, i meet the same error here, did you find the solution? Thanks!
ANTICOLD commented
Sry for the late reply. It should be an issue related to your cmake version. You can either try another cmake version or remove the --target argument in scripts/build.py.
Mrsun0 commented
I think the reason is that there is an error in the provided command (or I am unable to find the correct usage method). The original cmake command is "cmake --build build --target -- -j 6". Therefore, I used the command "scripts/build.py -o release -t iccad19gr" to assign a value to the "target" parameter, then the cmake command(in python file) change to "cmake --build build --target iccad19gr -- -j 6", it worked!