<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - building fails when tests are disabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103003">103003</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>building fails when tests are disabled
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>public@sourcemage.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=134499" name="attach_134499" title="possible solution">attachment 134499</a> <a href="attachment.cgi?id=134499&action=edit" title="possible solution">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=103003&attachment=134499'>[review]</a>
possible solution
cmake fails when called with these flags: -DENABLE_TESTING=0
-DBUILD_GTK_TESTS=0 -DBUILD_QT4_TESTS=0 -DBUILD_QT5_TESTS=0 -DBUILD_CPP_TESTS=0
Output:
CMake Error at cmake/modules/PopplerMacros.cmake:18 (add_custom_target):
add_custom_target cannot create target "buildtests" because another target
with the same name already exists. The existing target is a custom target
created in source directory "/usr/src/poppler-git/test". See documentation
for policy CMP0002 for more details.
Call Stack (most recent call first):
cpp/tests/CMakeLists.txt:13 (poppler_add_test)
cpp/tests/CMakeLists.txt:21 (cpp_add_simpletest)
Solution:
patch is attached.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>