mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 22:05:25 +00:00
Fix CMake build for Qt 5.11
This commit is contained in:
parent
7117846b3e
commit
68e57f536f
@ -88,12 +88,13 @@ add_definitions("-DAPP_VERSION=\"${CUTTER_VERSION_FULL}\"")
|
|||||||
|
|
||||||
|
|
||||||
add_executable(Cutter ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES})
|
add_executable(Cutter ${UI_FILES} ${QRC_FILES} ${SOURCE_FILES} ${HEADER_FILES})
|
||||||
qt5_use_modules(Cutter Core Widgets Gui Svg)
|
|
||||||
|
target_link_libraries(Cutter Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Svg)
|
||||||
target_link_libraries(Cutter ${RADARE2_LIBRARIES})
|
target_link_libraries(Cutter ${RADARE2_LIBRARIES})
|
||||||
if(CUTTER_ENABLE_JUPYTER)
|
if(CUTTER_ENABLE_JUPYTER)
|
||||||
target_link_libraries(Cutter ${PYTHON_LIBRARIES})
|
target_link_libraries(Cutter ${PYTHON_LIBRARIES})
|
||||||
if(CUTTER_ENABLE_QTWEBENGINE)
|
if(CUTTER_ENABLE_QTWEBENGINE)
|
||||||
qt5_use_modules(Cutter WebEngineWidgets)
|
target_link_libraries(Cutter Qt5::WebEngineWidgets)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user