Fix CUTTER_ENABLE_QTWEBENGINE define for CMake

This commit is contained in:
Florian Märkl 2018-03-02 17:34:03 +01:00
parent 7ae1cee66b
commit 7914deb887

View File

@ -23,6 +23,7 @@ if(CUTTER_ENABLE_JUPYTER AND CUTTER_ENABLE_QTWEBENGINE)
message(FATAL_ERROR "QtWebEngine could not be found which is required for the in-app Jupyter Browser. message(FATAL_ERROR "QtWebEngine could not be found which is required for the in-app Jupyter Browser.
If you do not want to enable this in-app Browser, re-run CMake with -DCUTTER_ENABLE_QTWEBENGINE=OFF.") If you do not want to enable this in-app Browser, re-run CMake with -DCUTTER_ENABLE_QTWEBENGINE=OFF.")
endif() endif()
add_definitions(-DCUTTER_ENABLE_QTWEBENGINE)
endif() endif()