diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 0d0aab0..d0dde6d 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -178,6 +178,7 @@ if (BUILD_DESIGNER_PLUGIN) ${DESIGNER_QRC} ${DESIGNER_SRC} ) + add_dependencies(qtermwidgetplugin qtermwidget) target_link_libraries( qtermwidgetplugin ${QT_QTCORE_LIBRARY} diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c990f6c..c921acc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,6 +32,8 @@ endif(COMMAND cmake_policy) #| Create the Library add_executable ( test ${SRCS} ) +add_dependencies(test qtermwidget) + #| Set Build Type set ( CMAKE_BUILD_TYPE #"release"