Skip to content

Commit

Permalink
Merge pull request #1380 from gentryx/master
Browse files Browse the repository at this point in the history
resolved warning in CMake 3.1 and newer
  • Loading branch information
hkaiser committed Feb 23, 2015
2 parents e6ced00 + 93369f3 commit cb4efc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmake/HPX_SetupTarget.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

cmake_policy(SET CMP0054 NEW)

function(hpx_setup_target target)
# retrieve arguments
set(options EXPORT NOHPX_INIT INSTALL NOLIBS PLUGIN)
Expand Down
2 changes: 0 additions & 2 deletions hpx/lcos/when_all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ namespace hpx { namespace lcos
lcos::future<std::vector<Future> > //-V659
when_all(std::vector<Future>&& values)
{
typedef std::vector<Future> result_type;

typedef detail::when_all_frame<
hpx::util::tuple<std::vector<Future> >
> frame_type;
Expand Down

0 comments on commit cb4efc2

Please sign in to comment.