mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Remove unused checks
This commit is contained in:
parent
82b7a244eb
commit
1decfcc488
@ -469,15 +469,6 @@ endif()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Check for availability of SSE
|
|
||||||
################################################################################
|
|
||||||
if(NOT ENABLE_GENERIC_ARCH)
|
|
||||||
include(TestForSSE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Find the POSIX thread (pthread) libraries
|
# Find the POSIX thread (pthread) libraries
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -1866,12 +1857,6 @@ if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32)
|
|||||||
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -Wall -Wextra") #Add warning flags: For "-Wall" see https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -Wall -Wextra") #Add warning flags: For "-Wall" see https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
||||||
if(OS_IS_MACOSX)
|
|
||||||
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -stdlib=libc++")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Processor-architecture related flags
|
# Processor-architecture related flags
|
||||||
# See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
|
# See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
|
||||||
if(NOT ARCH_COMPILER_FLAGS)
|
if(NOT ARCH_COMPILER_FLAGS)
|
||||||
|
@ -58,6 +58,7 @@ if(NOT ${GTEST_DIR_LOCAL})
|
|||||||
if(OS_IS_MACOSX)
|
if(OS_IS_MACOSX)
|
||||||
if(CMAKE_GENERATOR STREQUAL Xcode)
|
if(CMAKE_GENERATOR STREQUAL Xcode)
|
||||||
set(DEBUG_PREFIX "Debug/")
|
set(DEBUG_PREFIX "Debug/")
|
||||||
|
set(DEBUG_POSTFIX "d")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -167,12 +168,6 @@ if(OPENSSL_FOUND)
|
|||||||
add_definitions(-DUSE_OPENSSL_FALLBACK=1)
|
add_definitions(-DUSE_OPENSSL_FALLBACK=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
||||||
if(OS_IS_MACOSX)
|
|
||||||
set(CLANG_FLAGS "-stdlib=libc++ -lc++")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(OPENCL_FOUND)
|
if(OPENCL_FOUND)
|
||||||
add_definitions(-DOPENCL_BLOCKS_TEST=1)
|
add_definitions(-DOPENCL_BLOCKS_TEST=1)
|
||||||
endif()
|
endif()
|
||||||
@ -350,7 +345,6 @@ if(ENABLE_UNIT_TESTING)
|
|||||||
|
|
||||||
target_link_libraries(run_tests
|
target_link_libraries(run_tests
|
||||||
PUBLIC
|
PUBLIC
|
||||||
${CLANG_FLAGS}
|
|
||||||
Boost::chrono
|
Boost::chrono
|
||||||
Boost::filesystem
|
Boost::filesystem
|
||||||
Boost::system
|
Boost::system
|
||||||
|
Loading…
Reference in New Issue
Block a user