Commit 69a28310 authored by Roel Aaij's avatar Roel Aaij
Browse files

Fix build when Vc is disabled.

parent 714c67a6
......@@ -105,8 +105,10 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lpthread")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${INCLUDES} -W -O3 -DNDEBUG")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}" )
include(VcMacros)
vc_set_preferred_compiler_flags()
if(ENABLE_VC)
include(VcMacros)
vc_set_preferred_compiler_flags()
endif()
if (USE_AVX2)
include_directories(${Vc_INCLUDE_DIR})
......
#pragma once
#cmakedefine01 USE_AVX2 @USE_AVX2@
#cmakedefine USE_AVX2 @USE_AVX2@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment