|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3494970 ] CMake warnings
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 04 Mar 2012 14:40:41 -0800
Bugs item #3494970, was opened at 2012-02-27 03:19
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Running CMake results in this warning:
CMake Warning (dev) at tests/CMakeLists.txt:1 (add_subdirectory):
Z:/software/src/curl-7.24.0/tests/libtest
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run
cmake --help-policy CMP0014
CMake versions before 2.8 silently ignored missing CMakeLists.txt
This policy was introduced in CMake version 2.8.0. CMake version
Solution:
1. Developer, please update your CMake version.
2. Remove the lines
add_subdirectory(libtest)
in curl-7.24.0/tests/CMakeLists.txt
3. or create dummy files:
touch curl-7.24.0/tests/server/CMakeLists.txt curl-7.24.0/tests/libtest/CMakeLists.txt
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
First, who's the "developer" in step (1) you mean? Surely we can demand
Then, in (2) you say we should remove two lines. They are the only two
option (3) sounds mostly annoying to me...
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info