diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCurveQt3.cmake | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/cmake/QtCurveQt3.cmake b/cmake/QtCurveQt3.cmake deleted file mode 100644 index dac1b1b..0000000 --- a/cmake/QtCurveQt3.cmake +++ /dev/null @@ -1,27 +0,0 @@ -FILE(GLOB GLOB_PATHS_BIN /usr/lib/qt-3*/bin/) -FIND_PATH(QT_PLUGINS_DIR imageformats - $ENV{QTDIR}/plugins - ${GLOB_PATHS_BIN} - /usr/local/qt/plugins - /usr/lib/qt/plugins - /usr/lib/qt3/plugins - /usr/share/qt3/plugins - ) - -MACRO(QTCURVE_QT_WRAP_CPP outfiles ) - # get include dirs - GET_DIRECTORY_PROPERTY(moc_includes_tmp INCLUDE_DIRECTORIES) - SET(moc_includes) - - FOREACH(it ${ARGN}) - GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE) - GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE) - SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfilename}.moc) - ADD_CUSTOM_COMMAND(OUTPUT ${outfile} - COMMAND ${QT_MOC_EXECUTABLE} - ARGS -o ${outfile} ${infile} - DEPENDS ${infile}) - SET(${outfiles} ${${outfiles}} ${outfile}) - ENDFOREACH(it) - -ENDMACRO(QTCURVE_QT_WRAP_CPP) |