Skip to content

Commit f243471

Browse files
committed
build: repair the build on 14.04
CMake 3.4.3 does not support the <files>... <directory> pattern for copy_if_different. Adjust for that.
1 parent 3f144c7 commit f243471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ if(ENABLE_TESTING)
414414
BYPRODUCTS
415415
${CMAKE_CURRENT_BINARY_DIR}/TestFoundation/xdgTestHelper${CMAKE_EXECUTABLE_SUFFIX}
416416
COMMAND
417-
${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/xdgTestHelper${CMAKE_EXECUTABLE_SUFFIX} ${CMAKE_CURRENT_BINARY_DIR}/TestFoundation
417+
${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/xdgTestHelper${CMAKE_EXECUTABLE_SUFFIX} ${CMAKE_CURRENT_BINARY_DIR}/TestFoundation/xdgTestHelper${CMAKE_EXECUTABLE_SUFFIX}
418418
DEPENDS
419419
TestFoundation
420420
xdgTestHelper)

0 commit comments

Comments
 (0)