put icons in cmake bin dir so that tex2lyx can also see them
This commit is contained in:
Eugene Chornyi 2020-06-21 19:50:21 +02:00
parent 6f084c4c30
commit 4dc33e52f8

View File

@ -96,8 +96,8 @@ 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})
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()