Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenWalnut Core OpenWalnut Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenWalnut
  • OpenWalnut CoreOpenWalnut Core
  • Issues
  • #273

Closed
Open
Created May 08, 2017 by Alexander Wiebel@wiebelOwner

-RM-149-MR-Need extra target_link_library to compile on opensuse

I need to include X11 for making it compile. Can anyone test if it compile on their debin/ubuntu machine if they include it? If so I would like to change this.

diff -r d40d3399c840 src/qt4gui/CMakeLists.txt --- a/src/qt4gui/CMakeLists.txt Mon Apr 02 17:14:26 2012 +0200 +++ b/src/qt4gui/CMakeLists.txt Mon Apr 02 19:29:49 2012 +0200 @@ -70,7 +70,7 @@

Setup the target

ADD_EXECUTABLE( ${BinName} ${TARGET_CPP_FILES} ${TARGET_H_FILES} ${OW_VERSION_HEADER} ) -TARGET_LINK_LIBRARIES( ${BinName} ${OW_LIB_OPENWALNUT} ${QT_LIBS} ${Boost_LIBRARIES} ) +TARGET_LINK_LIBRARIES( ${BinName} ${OW_LIB_OPENWALNUT} ${QT_LIBS} ${Boost_LIBRARIES} X11)

Tell CMake that someone creates this file for us. See doc of SETUP_VERSION_HEADER for details why this is needed.

NOTE: this needs to be placed AFTER ADD_EXECUTABLE or ADD_LIBRARY

(from redmine: created on 2012-04-02, closed on 2012-04-03)

Assignee
Assign to
OpenWalnut 1.3
Milestone
OpenWalnut 1.3
Assign milestone
Time tracking