Bug 341326 - cmake generate_export_header called on !library target
Summary: cmake generate_export_header called on !library target
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.99.900
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-27 14:16 UTC by Harald Sitter
Modified: 2014-11-27 18:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2014-11-27 14:16:17 UTC
CMake Warning at /usr/share/cmake-2.8/Modules/GenerateExportHeader.cmake:319 (message):
  This macro can only be used with libraries
Call Stack (most recent call first):
  src/CMakeLists.txt:201 (generate_export_header)

commit 6c747d97d61fb9738e2c0f362963c6532814b563 added

> +generate_export_header(konsole BASE_NAME konsole)

which makes 0 sense given that konsole is the binary target

Reproducible: Always
Comment 1 Kurt Hindenburg 2014-11-27 18:15:11 UTC
fixed w/ 34053