diff options
| author | Mizux <corentinl@google.com> | 2020-02-06 09:42:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 09:42:20 +0100 |
| commit | b5c271c53759b2b15ff91df19bd0b32f2966e275 (patch) | |
| tree | 602d25ec4b34c71469b6109fd2592295d0058aa1 | |
| parent | 5d55aa1efea2001465a72bdc7f182854defc30b0 (diff) | |
| download | platform_external_cpu_features-b5c271c53759b2b15ff91df19bd0b32f2966e275.tar.gz platform_external_cpu_features-b5c271c53759b2b15ff91df19bd0b32f2966e275.tar.bz2 platform_external_cpu_features-b5c271c53759b2b15ff91df19bd0b32f2966e275.zip | |
CMake: Add missing alias for cpu_feature (#107)
For customers using add_subdirectory() approach
related to #106
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a0a57b..87b1c8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 |
