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

8 lines
129 B
CMake

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