Skip to content

Commit

Permalink
Fixed an issue of the new module code when used together with mz-cmak…
Browse files Browse the repository at this point in the history
…etools

git-svn-id: http://opensource.mlba-team.de/svn/xdispatch/trunk@653 9e4c620c-c391-4b63-a7fb-4924991ea895
  • Loading branch information
marius committed Aug 19, 2013
1 parent 0d544f1 commit c58dee6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Modules/FindQtDispatch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
# @LICENSE_HEADER_END:Apache@
##

FIND_PACKAGE(xdispatch REQUIRED)
FIND_PACKAGE(xdispatch)
if(NOT XDISPATCH_FOUND)
return()
endif()

FIND_PATH(
QTDISPATCH_INCLUDE_DIRS
Expand Down
2 changes: 1 addition & 1 deletion Modules/Finddispatch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
##

FIND_PATH(
XDISPATCH_INCLUDE_DIRS
DISPATCH_INCLUDE_DIRS
NAMES
dispatch/dispatch.h
HINTS
Expand Down
5 changes: 4 additions & 1 deletion Modules/Findxdispatch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
# @LICENSE_HEADER_END:Apache@
##

FIND_PACKAGE(dispatch REQUIRED)
FIND_PACKAGE(dispatch)
if(NOT DISPATCH_FOUND)
return()
endif()

FIND_PATH(
XDISPATCH_INCLUDE_DIRS
Expand Down

0 comments on commit c58dee6

Please sign in to comment.