ARCHIVE_OUTPU_DIRECTORY Overwrite failure

I would like the library output directory of a module to be customisable, and I have previously customised the global library output directory. When I used the following approach I found that it did not work.
set(CMAKE_ARCHIVE_OUTPU_DIRECTORY path1)


set_target_properties(target PROPERITES ARCHIVE_OUTPU_DIRECTORY path2)

The output directory of target in the generated vs project will still be path1

Just to cross-check:
is CMAKE_ARCHIVE_OUTPU_DIRECTORY a typo in the post, or is it exactly how you have it in the CMake script?

Missed a typo,
not only ARCHIVE_OUTPUT_DIRECTORY, but also LIBRARY_OUTPUT_DIRECTORY 、RUNTIME_OUTPUT_DIRECTORY