[cmake-developers] ITK NIfTI broken Oct 6

Brad King brad.king at kitware.com
Mon Oct 12 13:09:21 EDT 2015


On 10/09/2015 10:06 AM, Kevin H. Hobbs wrote:
> The ITK dashboard builds on bubbles, murron, and k450e all started
> failing at the configure step on October 6.
> 
> CMake Error at
> Modules/ThirdParty/NIFTI/src/nifti/znzlib/CMakeLists.txt:18 (install):
>   install TARGETS given no LIBRARY DESTINATION for shared library target
>   "znz".

Kevin, thanks for reporting this promptly.

Steve, this bisects to:

 cmMakefile: Move invokation to initialize snapshot.
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f716460e

Here is a small test case:

 $ cat CMakeLists.txt
 cmake_minimum_required(VERSION 3.3)
 project(Subdir NONE)
 subdirs(dir)
 set(variable value)

 $ cat dir/CMakeLists.txt
 message("variable='${variable}'")

Prior to this change the variable would have the right value in
the subdirectory.  Now it is not set.  Please take a look.

Thanks,
-Brad


More information about the cmake-developers mailing list