From 4dc33e52f8c5b4a4c31e05da09ccb1dfb627e5cb Mon Sep 17 00:00:00 2001 From: Eugene Chornyi Date: Sun, 21 Jun 2020 19:50:21 +0200 Subject: [PATCH] Amend e501f2c4 put icons in cmake bin dir so that tex2lyx can also see them --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3910d851f1..4fbe440a34 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -96,9 +96,9 @@ endif() if(WIN32 AND NOT MINGW) set(FILE_RC ${TOP_SRC_DIR}/src/lyxwinres.rc) - file(COPY ${TOP_SRC_DIR}/development/Win32/packaging/icons/lyx.ico DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) - file(COPY ${TOP_SRC_DIR}/development/Win32/packaging/icons/lyx_doc.ico DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) - message(STATUS "Using icon defined in resource file: ${FILE_RC}") + file(COPY ${TOP_SRC_DIR}/development/Win32/packaging/icons/lyx.ico DESTINATION ${CMAKE_BINARY_DIR}) + file(COPY ${TOP_SRC_DIR}/development/Win32/packaging/icons/lyx_doc.ico DESTINATION ${CMAKE_BINARY_DIR}) + message(STATUS "Using icon defined in resource file: ${FILE_RC}") endif() lyx_find_info_files(LyXInfoFiles ${TOP_SRC_DIR}/*)