mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 15:12:30 +02:00
CMake: Add missing alias for cpu_feature (#107)
For customers using add_subdirectory() approach related to #106
This commit is contained in:
parent
5d55aa1efe
commit
b5c271c537
@ -135,6 +135,7 @@ set_property(TARGET cpu_features PROPERTY POSITION_INDEPENDENT_CODE ${BUILD_PIC}
|
||||
target_include_directories(cpu_features
|
||||
PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/cpu_features>
|
||||
)
|
||||
add_library(CpuFeature::cpu_features ALIAS cpu_features)
|
||||
|
||||
#
|
||||
# program : list_cpu_features
|
||||
|
Loading…
x
Reference in New Issue
Block a user