MantisBT - CMake
View Issue Details
0015680CMakeCMakepublic2015-08-04 16:062016-02-01 09:10
Anton Makeev 
Brad King 
normalminoralways
closedfixed 
OS X
CMake 3.3 
CMake 3.3.1CMake 3.3.1 
0015680: The message about a missing CMakeLists.txt in a subdirectory is incorrect [regression]
CMake < 3.3 reports
The source directory
   ...problems_missing_subdirs_cmakelists/subdir
does not contain a CMakeLists.txt file.

CMake 3.3 reports
The source directory
   ...problems_missing_subdirs_cmakelists/subdir/CMakeLists.txt
does not contain a CMakeLists.txt file.
generate the attached project with Unix Makefiles generator
No tags attached.
zip problems_missing_subdirs_cmakelists.zip (1,164) 2015-08-04 16:06
https://public.kitware.com/Bug/file/5500/problems_missing_subdirs_cmakelists.zip
patch 0001-add_subdirectory-Fix-error-message-on-missing-CMakeL.patch (5,877) 2015-08-04 16:44
https://public.kitware.com/Bug/file/5501/0001-add_subdirectory-Fix-error-message-on-missing-CMakeL.patch
Issue History
2015-08-04 16:06Anton MakeevNew Issue
2015-08-04 16:06Anton MakeevFile Added: problems_missing_subdirs_cmakelists.zip
2015-08-04 16:30Brad KingNote Added: 0039231
2015-08-04 16:31Brad KingTarget Version => CMake 3.3.1
2015-08-04 16:43Brad KingAssigned To => Brad King
2015-08-04 16:43Brad KingStatusnew => assigned
2015-08-04 16:44Brad KingFile Added: 0001-add_subdirectory-Fix-error-message-on-missing-CMakeL.patch
2015-08-04 16:45Brad KingNote Added: 0039232
2015-08-05 11:00Brad KingNote Added: 0039242
2015-08-05 11:01Brad KingNote Added: 0039243
2015-08-05 11:01Brad KingStatusassigned => resolved
2015-08-05 11:01Brad KingResolutionopen => fixed
2015-08-05 11:01Brad KingFixed in Version => CMake 3.3.1
2016-02-01 09:10Robert MaynardNote Added: 0040398
2016-02-01 09:10Robert MaynardStatusresolved => closed

Notes
(0039231)
Brad King   
2015-08-04 16:30   
Thanks. This bisects to v3.3.0-rc1~76^2:

 cmMakefile: Handle CMP0014 before configuring the generator.
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ce167b54 [^]
(0039232)
Brad King   
2015-08-04 16:45   
0001-add_subdirectory-Fix-error-message-on-missing-CMakeL.patch should fix this.
(0039242)
Brad King   
2015-08-05 11:00   
Fixed:

 add_subdirectory: Fix error message on missing CMakeLists.txt
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c4d2f64f [^]
(0039243)
Brad King   
2015-08-05 11:01   
I've queued this for merge to 'release' for inclusion in 3.3.1.
(0040398)
Robert Maynard   
2016-02-01 09:10   
Closing resolved issues that have not been updated in more than 4 months.