Permalink
Browse files

Allow Linux build to properly copy the data directory.

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information...
imikejackson committed Sep 28, 2018
1 parent 004dd6f commit 20d51920ad1b1b94affdcbb8702a10197324d0f7
Showing with 3 additions and 3 deletions.
  1. +3 −3 Support/Support.cmake
View
@@ -25,9 +25,9 @@ install(DIRECTORY ${DREAM3D_SUPPORT_DIR}/PrebuiltPipelines
#-------------------------------------------------------------------------------
# Copy the Data Folder to the build directory
set(DATA_DEST_DIR "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/Data/")
if(NOT APPLE AND NOT WIN32)
set(DATA_DEST_DIR "${DREAM3DProj_BINARY_DIR}/Data/")
endif()
# if(NOT APPLE AND NOT WIN32)
# set(DATA_DEST_DIR "${DREAM3DProj_BINARY_DIR}/Data/")
# endif()
add_custom_target(DataFolderCopy ALL
COMMAND ${CMAKE_COMMAND} -E copy_directory ${DREAM3D_DATA_DIR}/Data
${DATA_DEST_DIR}

0 comments on commit 20d5192

Please sign in to comment.