summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN.cmake
blob: c0c64a5b74383425167139ab8e12df9f9658baf4 (plain)
1
2
3
4
5
6
7

find_package(Qt4 REQUIRED)

set(CMAKE_WARN_DEPRECATED 1)

add_library(foo SHARED empty.cpp)
qt4_automoc(foo_moc_srcs empty.cpp)