Error trying to compile HLSL "FXC : error X3506: unrecognized compiler target 'vs'"

I added the following in my CMakeLists.txt…

set(PATH_PER_VERTEXSHADER ${VERTEXSHADERS})
set(PATH_PER_PIXELSHADER ${PIXELSHADERS})
list(TRANSFORM PATH_PER_PIXELSHADER PREPEND Source/)
list(TRANSFORM PATH_PER_VERTEXSHADER PREPEND Source/)
set(PATH_PER_SHADER ${PATH_PER_VERTEXSHADER} ${PATH_PER_PIXELSHADER})
set_property(SOURCE ${PATH_PER_VERTEXSHADER} PROPERTY VS_SHADER_TYPE vertex)
set_property(SOURCE ${PATH_PER_VERTEXSHADER} PROPERTY VS_SHADER_MODEL 5.0)
set_property(SOURCE ${PATH_PER_PIXELSHADER} PROPERTY VS_SHADER_TYPE pixel)
set_property(SOURCE ${PATH_PER_PIXELSHADER} PROPERTY VS_SHADER_MODEL 5.0)
add_library(TestShaders INTERFACE ${PATH_PER_SHADER})

Running cmake --build .cmake --config Debug the following error happens…

FXC : error X3506: unrecognized compiler target ‘vs’

There seems to be no documentation about what to specify for VS_SHADER_TYPE and VS_SHADER_MODEL, I experimented until something caused the output to change, and ended up with these parameters… vertex and shader for VS_SHADER_MODEL, and for VS_SHADER_TYPE a dot (e.g. 5.0 instead of 5_0)

CMake version is 3.30.5

Only post I found about a person seemed getting the same error (but different output) is this one…
When compile HLSL shader model5.1, get error X3506: unrecognized compiler target ‘vs_5_1’ - Microsoft Q&A

If it is supposed to output a full profile string (vs_5_11), then maybe that is the issue?

References

1: Syntax - Win32 apps | Microsoft Learn

Found some screenshots of what type and model in Visual Studio look like…
How to compile hlsl shader file in Visual Studio C# project - Stack Overflow
visual studio 2013 - VS2013: Compiling Shaders with Shader Model 5.0 - Stack Overflow
But trying to specify type /vs causes an error…

error : Element has an invalid value of “/vs”.

And specifying /5_0 for the model causes an error…

error : Element has an invalid value of “/5_0”.