Files @ daeb6dfc9a9f
Branch filter:

Location: libtransport.git/backends/frotz/dfrotz/CMakeLists.txt

Conrad Kostecki
Enable support for Qt5

Since Qt4 is EOL, we should also support libcommuni build with Qt5.
In order not to break Fedora docker builds, -DENABLE_QT4 is introduced.

When set to 'ON', support for Qt4 is being enabled,
otherwise support for Qt5 is enabled.

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
1
2
3
4
5
6
7
8
9
cmake_minimum_required(VERSION 2.6)
FILE(GLOB SRC common/*.c dumb/*.c)

ADD_EXECUTABLE(dfrotz ${SRC})

# target_link_libraries(dfrotz)

INSTALL(TARGETS dfrotz RUNTIME DESTINATION bin)