[Poppler-bugs] [Bug 103003] New: building fails when tests are disabled
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 27 02:25:46 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103003
Bug ID: 103003
Summary: building fails when tests are disabled
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: public at sourcemage.org
Created attachment 134499
--> https://bugs.freedesktop.org/attachment.cgi?id=134499&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170927/901b850a/attachment.html>
More information about the Poppler-bugs
mailing list