CMake/Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN.cmake

8 lines
129 B
CMake
Raw Normal View History

find_package(Qt4 REQUIRED)
set(CMAKE_WARN_DEPRECATED 1)
add_library(foo SHARED empty.cpp)
qt4_automoc(foo_moc_srcs empty.cpp)