-- Found Python3: /home/jiang/miniconda3/envs/py3_tf2_torch/bin/python3.6 (found version "3.6.10") found components: Interpreter Development Development.Module Development.Embed
-- Found Python3: /home/jiang/miniconda3/envs/py3_tf2_torch/include/python3.6m (found version "3.6.10") found components: NumPy Interpreter Development.Module
-- Found Python3: /home/jiang/miniconda3/envs/py3_tf2_torch/bin/python3.6 (found version "3.6.10") found components: Interpreter Development Development.Module Development.Embed
-- Found Python3: /home/jiang/miniconda3/envs/py3_tf2_torch/include/python3.6m (found version "3.6.10") found components: NumPy Interpreter Development.Module
[ 95%] Building CXX object kfr-bin/CMakeFiles/detect_cpu.dir/cmake/detect_cpu.cpp.o
[100%] Linking CXX executable ../bin/detect_cpu
[100%] Built target detect_cpu
复制代码
In this case you do not need to build KFR binaries manually, cmake will do it automatically for you.
use_arch is a virtual target that exists only in cmake environment.
It's intended for setting correct arch flags for you own executables, you should not use it in GCC command line