CMakeLists.txt

changeset 91
409d9c7214be
parent 90
2396457a8167
child 92
fb0bb9a2a7e1
equal deleted inserted replaced
90:2396457a8167 91:409d9c7214be
51 INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/src") # In case of out-of-source build. 51 INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/src") # In case of out-of-source build.
52 52
53 # ===== Find Qt5 ===== 53 # ===== Find Qt5 =====
54 54
55 # Minimum versio 5.13 for debug messages. 55 # Minimum versio 5.13 for debug messages.
56 find_package(Qt5 5.13 REQUIRED COMPONENTS Core Widgets Network Sql LinguistTools PrintSupport) 56 find_package(Qt5 5.13 REQUIRED COMPONENTS Core Widgets Network Sql LinguistTools PrintSupport WebSockets)
57 57
58 # PrintSupport Xml LinguistTools 58 # PrintSupport Xml LinguistTools
59 59
60 # Some extra files for the "make clean" target. 60 # Some extra files for the "make clean" target.
61 SET_PROPERTY( 61 SET_PROPERTY(
193 ${ROOTDIR}/bmsapp.desktop 193 ${ROOTDIR}/bmsapp.desktop
194 ) 194 )
195 195
196 196
197 add_executable(${bmsapp_EXECUTABLE} ${SOURCE_FILES} ${QM_FILES}) 197 add_executable(${bmsapp_EXECUTABLE} ${SOURCE_FILES} ${QM_FILES})
198 target_link_libraries(${bmsapp_EXECUTABLE} Qt5::Core Qt5::Widgets Qt5::Network Qt5::Sql Qt5::PrintSupport) 198 target_link_libraries(${bmsapp_EXECUTABLE} Qt5::Core Qt5::Widgets Qt5::Network Qt5::Sql Qt5::PrintSupport Qt5::WebSockets)
199 199
200 # `make translations' 200 # `make translations'
201 add_custom_target(translations DEPENDS ${QM_FILES}) 201 add_custom_target(translations DEPENDS ${QM_FILES})
202 202
203 203

mercurial