microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
21.76k stars 6.05k forks source link

[libcnotify] Initial Port #38495

Open eyalgolan1337 opened 2 weeks ago

eyalgolan1337 commented 2 weeks ago
JonLiu1993 commented 5 days ago

This is test error log, please take a look: x86-windows:

CMake Error at ports/libcnotify/portfile.cmake:33 (file):
  file must be called with at least two arguments.
Call Stack (most recent call first):
  scripts/ports.cmake:175 (include)

x64-windows-static:

CMake Error at scripts/cmake/vcpkg_check_linkage.cmake:25 (message):
  Refusing to build unexpected dynamic library against the static CRT.

      If this is desired, please configure your triplet to directly request this configuration.
dg0yt commented 3 days ago

x64-windows-static:

CMake Error at scripts/cmake/vcpkg_check_linkage.cmake:25 (message):
  Refusing to build unexpected dynamic library against the static CRT.

      If this is desired, please configure your triplet to directly request this configuration.

This is expected with vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY). Please add libcnotify:x64-windows-static=fail to scripts/ci.baseline.txt.