Skip to content

Commit

Permalink
Copying instead of creating symbolic links because the latter does no…
Browse files Browse the repository at this point in the history
…t work on windows plateforms
  • Loading branch information
cdoucet committed Nov 27, 2017
1 parent 2533ee7 commit 5b83b9f
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 create_symlink
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/Data ${CMAKE_CURRENT_BINARY_DIR}/Data
COMMAND ${CMAKE_COMMAND} -E create_symlink
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/Data_specfun
${CMAKE_CURRENT_BINARY_DIR}/Data_specfun)

Expand Down

0 comments on commit 5b83b9f

Please sign in to comment.