[pstl] Fix CMake configuration when parallel policies are disabled

llvm-svn: 350812
This commit is contained in:
Louis Dionne 2019-01-10 11:17:26 +00:00
parent 2088a7536c
commit 70f1b79687
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if (PARALLELSTL_USE_PARALLEL_POLICIES)
endif()
endif()
else()
target_add_definitions(ParallelSTL INTERFACE PSTL_USE_PARALLEL_POLICIES=0)
target_compile_definitions(ParallelSTL INTERFACE PSTL_USE_PARALLEL_POLICIES=0)
endif()
target_include_directories(ParallelSTL