mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 15:19:00 +08:00
8 lines
270 B
Plaintext
8 lines
270 B
Plaintext
|
cpu-features provides CMake targets:
|
||
|
|
||
|
find_package(CpuFeatures CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE CpuFeatures::cpu_features)
|
||
|
|
||
|
find_package(CpuFeaturesNdkCompat CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE CpuFeatures::ndk_compat)
|