On 10/23/2014 10:34 PM, Ben Boeckel wrote: > implies the build isn't getting the include directories plumbed through > properly.
I reproduced it locally far enough to find that kcoreaddons is not installing headers like include/KF5/KCoreAddons/kpluginfactory.h when built with 3.1 but is with 3.0. I narrowed it down to a test case using just ECM: ------------------------------------------------------------------- $ cat CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(Minimal NONE) file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/header.h" "header") find_package(ECM 1.3.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) include(ECMGenerateHeaders) ecm_generate_headers(headers HEADER_NAMES header REQUIRED_HEADERS headers ) message(WARNING " headers=[${headers}]") ecm_generate_headers(headers HEADER_NAMES header REQUIRED_HEADERS headers ) message(FATAL_ERROR " headers=[${headers}]") ------------------------------------------------------------------- With 3.0 we see the list of headers accumulate. With 3.1 just the first one works and the rest do not. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers