1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-10 02:24: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)
@ -218,8 +218,8 @@ if(BUILD_TESTING)
# Add googletest directly to our build. This defines the gtest and # Add googletest directly to our build. This defines the gtest and
# gtest_main targets. # gtest_main targets.
add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
${CMAKE_BINARY_DIR}/googletest-build ${CMAKE_BINARY_DIR}/googletest-build
EXCLUDE_FROM_ALL) EXCLUDE_FROM_ALL)
endif() endif()
add_subdirectory(test) add_subdirectory(test)

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>