1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-09 10:04:10 +00:00

Make cmakelint happy

This commit is contained in:
Carles Fernandez 2020-10-23 21:47:30 +02:00
parent 97224e60d2
commit 2f58c4aef1
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel."
FORCE) FORCE)
endif(NOT CMAKE_BUILD_TYPE) endif()
# BUILD_TESTING is a standard CMake variable, but we declare it here to make it # BUILD_TESTING is a standard CMake variable, but we declare it here to make it
# prominent in the GUI. # prominent in the GUI.
@ -134,8 +134,8 @@ endif()
# #
# library : cpu_features # library : cpu_features
# #
set (CPU_FEATURES_HDRS) set(CPU_FEATURES_HDRS)
set (CPU_FEATURES_SRCS) set(CPU_FEATURES_SRCS)
add_cpu_features_headers_and_sources(CPU_FEATURES_HDRS CPU_FEATURES_SRCS) add_cpu_features_headers_and_sources(CPU_FEATURES_HDRS CPU_FEATURES_SRCS)
list(APPEND CPU_FEATURES_SRCS $<TARGET_OBJECTS:utils>) list(APPEND CPU_FEATURES_SRCS $<TARGET_OBJECTS:utils>)
if(NOT PROCESSOR_IS_X86 AND UNIX) if(NOT PROCESSOR_IS_X86 AND UNIX)

View File

@ -5,8 +5,8 @@
# library : NDK compat # library : NDK compat
# #
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
set (NDK_COMPAT_HDRS cpu-features.h) set(NDK_COMPAT_HDRS cpu-features.h)
set (NDK_COMPAT_SRCS set(NDK_COMPAT_SRCS
cpu-features.c cpu-features.c
$<TARGET_OBJECTS:utils> $<TARGET_OBJECTS:utils>
$<TARGET_OBJECTS:unix_based_hardware_detection> $<TARGET_OBJECTS:unix_based_hardware_detection>