Skip to content

Commit

Permalink
Fix a bug: need to copy a directory, not just a file
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoucet committed Nov 27, 2017
1 parent 5b83b9f commit a6e02f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include_directories(${PROJECT_BINARY_DIR}/src/include ${PROJECT_SOURCE_DIR}/src/include)
enable_testing()
add_custom_target(link_data
COMMAND ${CMAKE_COMMAND} -E copy
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/Data ${CMAKE_CURRENT_BINARY_DIR}/Data
COMMAND ${CMAKE_COMMAND} -E copy
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/Data_specfun
${CMAKE_CURRENT_BINARY_DIR}/Data_specfun)

Expand Down

0 comments on commit a6e02f0

Please sign in to comment.