mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 20:19:01 +08:00
cb91b416cb
* Verify library location for debug vs. release * Use existing variables for wrapper * Always install freetype wrapper * Quote @expressions * Set policies for freetype wrapper (#19459) * Test JPEG * Fix jpeg wrapper for CMake < 3.12 * Test TIFF * Test with current and oldest supported CMake * Test and fix icu cmake wrapper * CMake policy fixes [skip actions] * Update versions * CI * CI * Nicole CRs * Disable Curses test * Prefer <Pkg>_VAR over <PKG>_VAR Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
6 lines
161 B
CMake
6 lines
161 B
CMake
list(FIND ARGS "COMPONENTS" COMPONENTS_IDX)
|
|
if(COMPONENTS_IDX EQUAL -1)
|
|
_find_package(${ARGS} COMPONENTS data)
|
|
else()
|
|
_find_package(${ARGS})
|
|
endif() |