View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015560CMakeCMakepublic2015-05-08 06:052015-11-02 09:15
ReporterLCID Fire 
Assigned ToBrad King 
PrioritynormalSeveritytextReproducibilityalways
StatusclosedResolutionfixed 
Platformx86_64OSWindowsOS Version7
Product VersionCMake 3.2.2 
Target VersionCMake 3.3Fixed in VersionCMake 3.3 
Summary0015560: EXTERNALPROJECT_ADD with missing SOURCE_DIR gives unclear error
DescriptionWhen specifying SOURCE_DIR, I get the same as bug 0010346:

error: no download info for 'libtorrent' -- please specify
  existing/non-empty SOURCE_DIR or one of URL, CVS_REPOSITORY and CVS_MODULE,
  SVN_REPOSITORY, GIT_REPOSITORY, HG_REPOSITORY or DOWNLOAD_COMMAND

Has this regressed?
Steps To ReproduceExternalProject_Add( libtorrent
    SOURCE_DIR lib/libtorrent
)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038730)
LCID Fire (reporter)
2015-05-08 06:10

*argh* Sorry, I did not use the path relative to the source. Tried to find lib/libtorrent in build directory.
(0038733)
Brad King (manager)
2015-05-08 09:34

I've improved the error message to make this mistake easier to notice:

 ExternalProject: Improve error when SOURCE_DIR is missing
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dcb18836 [^]
(0039804)
Robert Maynard (manager)
2015-11-02 09:15

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-05-08 06:05 LCID Fire New Issue
2015-05-08 06:10 LCID Fire Note Added: 0038730
2015-05-08 09:34 Brad King Note Added: 0038733
2015-05-08 09:35 Brad King Assigned To => Brad King
2015-05-08 09:35 Brad King Severity feature => text
2015-05-08 09:35 Brad King Status new => resolved
2015-05-08 09:35 Brad King Resolution open => fixed
2015-05-08 09:35 Brad King Fixed in Version => CMake 3.3
2015-05-08 09:35 Brad King Target Version => CMake 3.3
2015-05-08 09:35 Brad King Summary EXTERNALPROJECT_ADD does not longer build from SOURCE_DIR => EXTERNALPROJECT_ADD with missing SOURCE_DIR gives unclear error
2015-11-02 09:15 Robert Maynard Note Added: 0039804
2015-11-02 09:15 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team