Skip to content

Commit

Permalink
Drop deprecated qt5_use_modules macro
Browse files Browse the repository at this point in the history
  • Loading branch information
miek committed May 31, 2018
1 parent 11853b6 commit cfb153d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 2.8.11)
project(inspectrum CXX)
enable_testing()

Expand Down Expand Up @@ -63,16 +63,14 @@ find_package(FFTW REQUIRED)
find_package(Liquid REQUIRED)

include_directories(
${QT_INCLUDES}
${FFTW_INCLUDES}
${LIQUID_INCLUDES}
)

add_executable(inspectrum ${EXE_ARGS} ${inspectrum_sources})
qt5_use_modules(inspectrum Widgets Concurrent)

target_link_libraries(inspectrum
${QT_LIBRARIES}
Qt5::Core Qt5::Widgets Qt5::Concurrent
${FFTW_LIBRARIES}
${LIQUID_LIBRARIES}
)
Expand Down

0 comments on commit cfb153d

Please sign in to comment.