Problem using Vc with CMake 3.0 and kf5

Matthias Kretz kretz at compeng.uni-frankfurt.de
Wed May 27 10:07:43 BST 2015


Hi,

On Monday 25 May 2015 11:50:35 Alex Merry wrote:
> The issue here is that Vc's macros implicitly assume that all compilation 
> flags (including include paths) are done at the directory level (with 
> include_directories() and setting CMAKE_CXX_FLAGS etc), while CMake is
> moving  towards doing things at the target level (with
> target_include_directories(), target_compile_options() and inheritance from
> targets passed to target_link_libraries()).

I have to admit I didn't know about this change in cmake. I think it's the 
right direction, though. I just started to read the relevant cmake 
documentation and then I'll see whether I can figure something out to make the 
macro work for target-based compiler flags.

Cheers,
	Matthias

-- 
─────────────────────────────────────────────────────────────
 Dipl.-Phys. Matthias Kretz

 Web:   http://compeng.uni-frankfurt.de/?mkretz

 SIMD easy and portable: http://compeng.uni-frankfurt.de/?vc
─────────────────────────────────────────────────────────────


More information about the calligra-devel mailing list