Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMizux <corentinl@google.com>2020-02-06 11:42:20 +0300
committerGitHub <noreply@github.com>2020-02-06 11:42:20 +0300
commitb5c271c53759b2b15ff91df19bd0b32f2966e275 (patch)
tree602d25ec4b34c71469b6109fd2592295d0058aa1 /CMakeLists.txt
parent5d55aa1efea2001465a72bdc7f182854defc30b0 (diff)
CMake: Add missing alias for cpu_feature (#107)
For customers using add_subdirectory() approach related to #106
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
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