Skip to content

Commit

Permalink
Pass argument to moc to fix problem with boost
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed May 27, 2013
1 parent d07fc16 commit 97dd5fd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cMake/UseLibPack6x.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ include(AddFileDependencies)

macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
Expand Down
2 changes: 2 additions & 0 deletions cMake/UseLibPack7x.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ include(AddFileDependencies)

macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
Expand Down
2 changes: 2 additions & 0 deletions cMake/UseLibPack8x.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ include(AddFileDependencies)

macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
Expand Down
2 changes: 2 additions & 0 deletions cMake/UseLibPackCustom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ include(AddFileDependencies)

macro(fc_wrap_cpp outfiles )
QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
SET(ARGN)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
Expand Down

0 comments on commit 97dd5fd

Please sign in to comment.