From aa0d1eaeb96f1238f4d169140f334aa0c05c60e8 Mon Sep 17 00:00:00 2001 From: Aaron Enye Shi Date: Thu, 15 Jun 2017 13:28:31 -0400 Subject: [PATCH] Fix Jenkins build errors for PR358 Fix Jenkin build errors. Seems it dropped the impl/ sub-directory name in cmake_install.cmake. --- include/experimental/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/experimental/CMakeLists.txt b/include/experimental/CMakeLists.txt index bb7f99c118f..8cbf8d4adcd 100644 --- a/include/experimental/CMakeLists.txt +++ b/include/experimental/CMakeLists.txt @@ -13,7 +13,7 @@ FILE(GLOB PSTL_IMPL ${CMAKE_CURRENT_SOURCE_DIR}/impl/*.inl) # Obtain the names of each impl header and add to PSTL foreach(InFName ${PSTL_IMPL}) - STRING(REGEX REPLACE ${CMAKE_CURRENT_SOURCE_DIR}/impl/ "" OutFName ${InFName}) + STRING(REGEX REPLACE ${CMAKE_CURRENT_SOURCE_DIR}/ "" OutFName ${InFName}) set(PSTL_IMPL_HEADERS ${PSTL_IMPL_HEADERS} "${OutFName}") endforeach(InFName) @@ -36,7 +36,7 @@ foreach( f ${PSTL_EXP_HEADERS} ) endforeach( f ) foreach( f ${PSTL_IMPL_HEADERS} ) - set( src ${CMAKE_CURRENT_SOURCE_DIR}/impl/${f} ) + set( src ${CMAKE_CURRENT_SOURCE_DIR}/${f} ) set( dst ${impl_output_dir}/${f} ) add_custom_command(OUTPUT ${dst} DEPENDS ${src}