cmake module for FLTK broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fltk1.3 (Debian) |
Fix Released
|
Unknown
|
|||
fltk1.3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Ubuntu Xenial (a.k.a. development release)
cmake 3.3.2is3.
I expect the FLTK module in cmake to:
a) not require fluid when I specifically set(FLTK_SKIP_FLUID True)
This is not the case. I get an error saying cmake cannot find fluid. So I add it to the BuildDepends (control file).
It still cannot find it (why is it looking anyway??)
so I
IF(NOT EXISTS ${FLTK_
# Try to detect full path anyway
EXECUTE_
IF(NOT EXISTS ${FLTK_
ENDIF()
ENDIF()
Great... now it cannot find "${FLTK_
I hack that.
Now I get this:
Could NOT find FLTK (missing: FLTK_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/
/usr/
CMakeLists.txt:11 (FIND_PACKAGE)
Does this module work for anything at all?
This s rather frustrating :(
I have tried using
FIND_PACKAGE(FLTK REQUIRED)
and
FIND_PACKAGE(FLTK REQUIRED NO_MODULE) ## this worked in 12.04 and 14.04 just fine.. found everything with some hacking
Please fix this....
The issue seems to be that
/usr/lib/
does not look like this
#
# FLTKConfig.cmake - FLTK CMake configuration file for external projects.
#
# This file is configured by FLTK and used by the UseFLTK.cmake module
# to load FLTK's settings for an external project.
set(FLTK_FOUND TRUE)
set(FLTK_VERSION 1.3.0)
set(FLTK_
set(FLTK_USE_FILE "/usr/lib/
set(FLTK_DIR "/usr/lib/fltk")
set(FLTK_BIN_DIR "/usr/bin")
set(FLTK_LIB_DIR "/usr/lib/
set(FLTK_
set(FLTK_DATA_DIR "/usr/share/fltk")
set(FLTK_DOC_DIR "/usr/share/
set(FLTK_
set(FLTK_
set(FLTK_GL_FOUND TRUE)
set(FLTK_
set(FLTK_
set(FLTK_
set(FLTK_
set(FLTK_
set(FLTK_
set(FLTK_XFT_FOUND TRUE)
set(FLTK_XDBE_FOUND TRUE)
include(
Here is an example of the problems in other programs (and where I got the above file)
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cmake 3.3.2is3.
ProcVersionSign
Uname: Linux 4.2.0-19-lowlatency x86_64
NonfreeKernelMo
ApportVersion: 2.19.2-0ubuntu6
Architecture: amd64
CurrentDesktop: ToriOS
Date: Wed Nov 25 14:50:57 2015
InstallationDate: Installed on 2014-11-07 (383 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64+mac (20140722.2)
SourcePackage: cmake
UpgradeStatus: Upgraded to xenial on 2015-11-18 (7 days ago)
Changed in cmake (Ubuntu): | |
status: | Expired → New |
status: | New → Confirmed |
affects: | cmake (Ubuntu) → fltk1.3 (Ubuntu) |
Changed in fltk1.3 (Debian): | |
status: | Unknown → Fix Released |
Hi, can you please check the shiny new 3.5.1 in xenial?
thanks