Skip to content

Commit

Permalink
Jemalloc is now supported for MSVC if built using VcPkg
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Aug 11, 2017
1 parent 751cf59 commit 0b269d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/HPX_SetupAllocator.cmake
Expand Up @@ -39,7 +39,7 @@ if(NOT HPX_WITH_MALLOC_DEFAULT)
endif()

if("${HPX_WITH_MALLOC_UPPER}" STREQUAL "JEMALLOC")
if(MSVC)
if(MSVC AND NOT HPX_WITH_VCPKG)
hpx_error("jemalloc is not usable with MSVC")
endif()
find_package(Jemalloc)
Expand Down

0 comments on commit 0b269d1

Please sign in to comment.