mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-29 02:14:51 +00:00
Fix some CMake complaints
Keeping track of VOLK's improvements, see
434c994f21
This commit is contained in:
parent
cf44382afe
commit
9a92672905
@ -166,7 +166,7 @@ function(VOLK_ADD_TEST test_name)
|
||||
#functionality will be removed in the future. Leave it here for
|
||||
#now until someone can figure out how to do this in Windows.
|
||||
foreach(target ${test_name} ${VOLK_TEST_TARGET_DEPS})
|
||||
get_target_property(location ${target} LOCATION)
|
||||
get_target_property(location "${target}" LOCATION)
|
||||
if(location)
|
||||
get_filename_component(path ${location} PATH)
|
||||
string(REGEX REPLACE "\\$\\(.*\\)" ${CMAKE_BUILD_TYPE} path ${path})
|
||||
|
@ -106,7 +106,7 @@ macro(check_arch arch_name)
|
||||
set(flags ${ARGN})
|
||||
set(have_${arch_name} TRUE)
|
||||
foreach(flag ${flags})
|
||||
if ( (${COMPILER_NAME} STREQUAL "MSVC") AND (${flag} STREQUAL "/arch:SSE2" OR ${flag} STREQUAL "/arch:SSE" ))
|
||||
if (MSVC AND (${flag} STREQUAL "/arch:SSE2" OR ${flag} STREQUAL "/arch:SSE" ))
|
||||
# SSE/SSE2 is supported in MSVC since VS 2005 but flag not available when compiling 64-bit so do not check
|
||||
else()
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
Loading…
Reference in New Issue
Block a user