Skip to content

Commit

Permalink
CMakeLists.txt maintenaince
Browse files Browse the repository at this point in the history
qt5_use_modules() is obsolete. Updating also the cmake_minimum_required()
to match it.
  • Loading branch information
luis-pereira committed Nov 7, 2014
1 parent d05bf58 commit 079768e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.9)
cmake_minimum_required(VERSION 2.8.11)

project(liblxqt)

Expand Down Expand Up @@ -290,8 +290,10 @@ add_library(${LXQT_LIBRARY_NAME}

)

qt5_use_modules(${LXQT_LIBRARY_NAME} Widgets DBus X11Extras)
target_link_libraries(${LXQT_LIBRARY_NAME}
Qt5::Widgets
Qt5::DBus
Qt5::X11Extras
${QTXDG_LIBRARIES}
)

Expand Down

0 comments on commit 079768e

Please sign in to comment.