From bb635ee3da10a37d8e35206c29b9c340b81ffbb1 Mon Sep 17 00:00:00 2001 From: Mattia Date: Sun, 3 May 2020 23:26:39 +0100 Subject: [PATCH] Example can be compiled when openGJK is used as submodule --- examples/c/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt index 58024c1..253854c 100644 --- a/examples/c/CMakeLists.txt +++ b/examples/c/CMakeLists.txt @@ -46,11 +46,8 @@ add_executable(demo ${SOURCE_FILES}) add_custom_command( TARGET demo POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_SOURCE_DIR}/examples/c/userP.dat - ${CMAKE_CURRENT_BINARY_DIR}/userP.dat - COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_SOURCE_DIR}/examples/c/userQ.dat - ${CMAKE_CURRENT_BINARY_DIR}/userQ.dat) + ${CMAKE_CURRENT_SOURCE_DIR}/*.dat + ${CMAKE_CURRENT_BINARY_DIR}/ ) # PLATFORM-SPECIFIC SETTING if (UNIX)