Skip to content

Commit

Permalink
Fix Jenkins build errors for PR358
Browse files Browse the repository at this point in the history
Fix Jenkin build errors. Seems it dropped the impl/ sub-directory name in cmake_install.cmake.
  • Loading branch information
aaronenyeshi committed Jun 15, 2017
1 parent 7616882 commit aa0d1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/experimental/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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}
Expand Down

0 comments on commit aa0d1ea

Please sign in to comment.