Host Environment
- OS: Windows
- Compiler: 16.11
To Reproduce
Steps to reproduce the behavior:
./vcpkg.exe install --triplet=x64-windows-static cjson
After you install, you cannot use the CMake.
The reason is that in line 45 there is:
set(_IMPORT_PREFIX "${_IMPORT_PREFIX}")
This is a regression. It means nothing. Any project that users cjson will fail in line 68 (won't be able to find the cjon.lib).
Should be:
set(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../..")
As it used to be before
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg.exe install --triplet=x64-windows-static cjsonAfter you install, you cannot use the CMake.
The reason is that in line 45 there is:
set(_IMPORT_PREFIX "${_IMPORT_PREFIX}")This is a regression. It means nothing. Any project that users cjson will fail in line 68 (won't be able to find the cjon.lib).
Should be:
set(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../..")As it used to be before