Skip to content

Commit

Permalink
Skip WORKING_DIRECTORY in cmake -E copy_directory <dir> . (TriBITSPub…
Browse files Browse the repository at this point in the history
…#516)

This started failing for some reason and I have no idea why. This refactored
command is better anyway.
  • Loading branch information
bartlettroscoe committed Aug 23, 2022
1 parent 181ece4 commit 5e26300
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/core/ExamplesUnitTests/TribitsExampleApp_Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ function(TribitsExampleApp_NoFortran fullOrComponents sharedOrStatic)
MESSAGE "Copy source for TribitsExampleProject"
CMND ${CMAKE_COMMAND}
ARGS -E copy_directory
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject .
WORKING_DIRECTORY TribitsExampleProject
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject
TribitsExampleProject

TEST_1
MESSAGE "Do the configure of TribitsExampleProject"
Expand Down Expand Up @@ -428,8 +428,8 @@ function(TribitsExampleApp_EnableSingleSubpackage fullOrComponents sharedOrStati
MESSAGE "Copy source for TribitsExampleProject"
CMND ${CMAKE_COMMAND}
ARGS -E copy_directory
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject .
WORKING_DIRECTORY TribitsExampleProject
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject
TribitsExampleProject

TEST_1
MESSAGE "Make Withsubpackages OPTIONAL subpackages REQUIRED"
Expand Down Expand Up @@ -567,8 +567,8 @@ function(TribitsExampleApp_ALL_ST byProjectOrPackage sharedOrStatic serialOrM
MESSAGE "Copy source for TribitsExampleProject"
CMND ${CMAKE_COMMAND}
ARGS -E copy_directory
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject .
WORKING_DIRECTORY TribitsExampleProject
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject
TribitsExampleProject

TEST_1
MESSAGE "Do the configure of TribitsExampleProject"
Expand Down Expand Up @@ -963,8 +963,8 @@ function(TribitsExampleApp_ALL_ST_tpl_link_options byProjectOrPackage sharedOrSt
MESSAGE "Copy source for TribitsExampleProject"
CMND ${CMAKE_COMMAND}
ARGS -E copy_directory
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject .
WORKING_DIRECTORY TribitsExampleProject
${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject
TribitsExampleProject

TEST_1
MESSAGE "Write configuration fragment file to deal with semi-colon problem"
Expand Down

0 comments on commit 5e26300

Please sign in to comment.