Skip to content

VS: target_link_directories doubles every path with trailing $<CONFIG>

With next code:

target_link_directories(${PROJECT_NAME} PRIVATE
	"some_path/test"
)

Additional Library Directories at generated VS have 2 values:

some_path/test                    <- OK
some_path/test$(Configuration)    <- Extra value. Unexpected

Tested SHARED and executable targets.

Ninja gen seems ok.

CMake 3.16.8

Edited by Pavel Liavonau
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information