Commit a30fb083 authored by Boudewijn Rempt's avatar Boudewijn Rempt

put the check in the right place

parent 8e980601
......@@ -315,6 +315,9 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
macro_optional_find_package(Vc)
macro_log_feature(Vc_FOUND "Vc" "Portable, zero-overhead SIMD library for C++" "http://code.compeng.uni-frankfurt.de/projects/vc" FALSE "" "Required by the Krita for vectorization")
macro_bool_to_01(Vc_FOUND HAVE_VC)
if(NOT MSVC)
macro_bool_to_01(Vc_FOUND HAVE_SANE_VC)
endif(NOT MSVC)
configure_file(config-vc.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-vc.h )
if(HAVE_VC)
......
......@@ -2,8 +2,6 @@
/* Define if you have Vc, the vectorization library */
#cmakedefine HAVE_VC 1
#ifndef Q_CC_MSVC
#cmakedefine HAVE_SANE_VC 1
#endif
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