From c1ac18b4976f133b8c6db596974b967b6679b31a Mon Sep 17 00:00:00 2001 From: Khalyutin Date: Sun, 30 Apr 2023 15:11:54 +0300 Subject: [PATCH] - --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b34ab66..ec547a2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -504,11 +504,11 @@ endif (NOT APPLE) #-------------------------------------- # Copy template files to build location so we can run in debugger -file(COPY ${CMAKE_SOURCE_DIR}/html-templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -file(COPY ${CMAKE_SOURCE_DIR}/code-templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -file(COPY ${CMAKE_SOURCE_DIR}/sys-templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -file(COPY ${CMAKE_SOURCE_DIR}/conf-defs DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -file(COPY ${CMAKE_SOURCE_DIR}/xml-styles DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/html-templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/code-templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/sys-templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/conf-defs DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/xml-styles DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) if (APPLE) add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${SOURCE_LIST} ${HEADER_LIST} ${RESOURCE_FILES_MAC})