mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 08:37:50 +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)
|