Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
systemtests: apply suggested review change
  • Loading branch information
pstorz committed Apr 12, 2021
1 parent 848ac19 commit 89643f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions systemtests/CMakeLists.txt
Expand Up @@ -85,15 +85,15 @@ function(configurefilestosystemtest srcbasedir dirname globexpression
string(REPLACE "${srcbasedir}/${srcdirname}" "" TARGET_FILE ${TARGET_FILE})
get_filename_component(DIR_NAME ${TARGET_FILE} DIRECTORY)

if(NOT EXISTS ${PROJECT_BINARY_DIR}/${dirname}/${DIR_NAME})
file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/${dirname}/${DIR_NAME})
endif()
if(${CURRENT_FILE} MATCHES ".in$")
configure_file(
${CURRENT_FILE} ${PROJECT_BINARY_DIR}/${dirname}/${TARGET_FILE}
${configure_option}
)
else()
if(NOT EXISTS ${PROJECT_BINARY_DIR}/${dirname}/${DIR_NAME})
file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/${dirname}/${DIR_NAME})
endif()
create_symlink(
${CURRENT_FILE} ${PROJECT_BINARY_DIR}/${dirname}/${TARGET_FILE}
)
Expand Down

0 comments on commit 89643f2

Please sign in to comment.