diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 6caafc9..f8d4998 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -20,8 +20,10 @@ set(ads_demo_LIBS ${ads_demo_LIBS} ${Qt5Widgets_LIBRARIES}) set(ads_demo_INCLUDE ${ads_demo_INCLUDE} ${Qt5Widgets_INCLUDE_DIRS}) set(ads_demo_COMPILE_DEFINE ${ads_demo_COMPILE_DEFINE} ${Qt5Widgets_COMPILE_DEFINITIONS}) if(WIN32) + find_package(Qt5AxContainer ${REQUIRED_QT_VERSION} REQUIRED) set(ads_demo_LIBS ${ads_demo_LIBS} ${Qt5AxContainer_LIBRARIES}) set(ads_demo_INCLUDE ${ads_demo_INCLUDE} ${Qt5AxContainer_INCLUDE_DIRS}) + set(ads_demo_COMPILE_DEFINE ${ads_demo_COMPILE_DEFINE} ${Qt5AxContainer_COMPILE_DEFINITIONS}) endif() set(CMAKE_INCLUDE_CURRENT_DIR ON) set(ads_demo_SRCS