diff -rupN a/data/CMakeLists.txt b/data/CMakeLists.txt
--- a/data/CMakeLists.txt	2018-09-02 12:41:22.000000000 -0700
+++ b/data/CMakeLists.txt	2018-10-02 12:40:29.646077200 -0700
@@ -57,5 +57,7 @@ else()
     add_library(SyntaxHighlightingData OBJECT ${themes_QRC})
 endif()
 
+target_link_libraries(SyntaxHighlightingData LINK_PRIVATE Qt5::Core)
+
 # set PIC to allow use in static and shared libs
 set_property(TARGET SyntaxHighlightingData PROPERTY POSITION_INDEPENDENT_CODE 1)
