diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-05-09 10:14:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-05-09 10:14:53 +0200 |
commit | 643e2953ae41095fee30ef3d8890bd90d7f8ccdc (patch) | |
tree | 71b52bdc0d92c9e2091e249af0a59c9cea34d2cd /CMakeLists.txt | |
parent | 1bcd0b060d73eb8683512339223e5ea2df78656f (diff) |
Fix build for qt 4.7
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 84b20df0..dd1854e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,19 +26,6 @@ include_directories(${CMAKE_SOURCE_DIR}) if(NOT SDK_FACEAPI_ONLY) find_package(OpenCV REQUIRED) find_package(Qt4 COMPONENTS QtCore QtGui QtDesigner QtXml QtNetwork REQUIRED) - macro(QT4_WRAP_CPP outfiles) - # get include dirs - QT4_GET_MOC_FLAGS(moc_flags) - QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN}) - - foreach(it ${moc_files}) - get_filename_component(it ${it} ABSOLUTE) - QT4_MAKE_OUTPUT_FILE(${it} moc_ cxx outfile) - SET(moc_options ${moc_options} -nn) - QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}") - set(${outfiles} ${${outfiles}} ${outfile}) - endforeach() - endmacro() if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC) add_definitions(/D FTNOIR_FILTER_BASE_LIB /D FTNOIR_TRACKER_BASE_LIB /D FTNOIR_PROTOCOL_BASE_LIB /D_CRT_SECURE_NO_WARNINGS) |