On Mon, 25 May 2015, Stephen Kelly wrote:

Boudewijn Rempt wrote:


Here's an SSCCE that demonstrates the problem with Vc 0.7.4:

 cmake_minimum_required(VERSION 3.0)
 project(VcTest)

 set(CMAKE_INCLUDE_CURRENT_DIR ON)

 find_package(Qt5Core REQUIRED)
 find_package(Vc REQUIRED)

 # Uncomment this to make the build work
 # include_directories(${Qt5Core_INCLUDE_DIRS})

 vc_compile_for_all_implementations(__per_arch_factory_objs
   hello.cpp
   FLAGS -fPIC ONLY SSE2)

 message("Following objects are generated from the per-arch lib:

   ${__per_arch_factory_objs}

 ")

 add_executable(hello ${__per_arch_factory_objs})
 target_link_libraries(hello Qt5::Core)



At first, I did not get a build failure because I used Vc from the master branch. Commit b23418cd (change vc_compile_for_all_implementations macro to use normal cmake compilation, 2013-10-05) removed the code which reads the INCLUDE_DIRECTORIES directory property.

That fact gives you more options for a way forward, right?


Yes, indeed - I can try copy the vcmacros from vc master to calligra and use those. We can't use vc master because we're dependent on released versions, but at least we've got something new to try!

Boudewijn
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to