diff --git a/CMLibCommonTargetProperties.cmake b/CMLibCommonTargetProperties.cmake index 55574ff..22af2e8 100644 --- a/CMLibCommonTargetProperties.cmake +++ b/CMLibCommonTargetProperties.cmake @@ -29,6 +29,8 @@ function(common_target_properties Name) endif() if(TARGET Qt5::Widgets) set_target_properties(${Name} PROPERTIES AUTOUIC TRUE) + target_include_directories(${Name} PUBLIC + $) endif() if(CMAKE_CXX_COMPILER_IS_GCC AND NOT APPLE) set_target_properties(${Name} PROPERTIES LINK_FLAGS "-Wl,--no-as-needed")