Skip to content

Commit

Permalink
Fixing linker problems when HPX is built using vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jun 1, 2017
1 parent 6ae2418 commit ec0c6ef
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/performance/local/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@
# 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)

if(NOT MSVC)
if((NOT MSVC) OR HPX_WITH_VCPKG)
set(boost_library_dependencies ${Boost_LIBRARIES})
endif()

Expand Down
2 changes: 1 addition & 1 deletion tests/performance/local/htts_v2/CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@
# 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)

if(NOT MSVC)
if((NOT MSVC) OR HPX_WITH_VCPKG)
set(boost_library_dependencies ${Boost_LIBRARIES})
endif()

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/threads/CMakeLists.txt
Expand Up @@ -22,7 +22,7 @@ if(HPX_WITH_THREAD_LOCAL_STORAGE)
set(tests ${tests} tss)
endif()

if(NOT MSVC)
if((NOT MSVC) OR HPX_WITH_VCPKG)
set(lockfree_fifo_FLAGS NOLIBS DEPENDENCIES ${Boost_LIBRARIES})
else()
set(lockfree_fifo_FLAGS NOLIBS)
Expand Down
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Expand Up @@ -7,7 +7,7 @@ set(tools)
set(subdirs inspect)


if(NOT MSVC)
if((NOT MSVC) OR HPX_WITH_VCPKG)
set(tools ${tools} cpu_features)
set(cpu_features NOLIBS DEPENDENCIES ${BOOST_program_options_LIBRARY})
endif()
Expand Down
2 changes: 1 addition & 1 deletion tools/inspect/CMakeLists.txt
Expand Up @@ -10,7 +10,7 @@ add_hpx_executable(inspect
NOLIBS
FOLDER "Tools/Inspect")

if(NOT MSVC)
if((NOT MSVC) OR HPX_WITH_VCPKG)
target_link_libraries(inspect_exe ${HPX_TLL_PUBLIC} ${Boost_LIBRARIES})
endif()

Expand Down

0 comments on commit ec0c6ef

Please sign in to comment.