From b5c271c53759b2b15ff91df19bd0b32f2966e275 Mon Sep 17 00:00:00 2001 From: Mizux Date: Thu, 6 Feb 2020 09:42:20 +0100 Subject: [PATCH] CMake: Add missing alias for cpu_feature (#107) For customers using add_subdirectory() approach related to #106 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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 $ ) +add_library(CpuFeature::cpu_features ALIAS cpu_features) # # program : list_cpu_features