Skip to content

Commit

Permalink
put the check in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
hallarempt committed Dec 1, 2012
1 parent 8e98060 commit a30fb08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions config-vc.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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


0 comments on commit a30fb08

Please sign in to comment.