endif()
if(WIN32 AND NOT MINGW)
- set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
+ 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}")
endif()
${ZLIB_INCLUDE_DIR})
if(WIN32 AND NOT MINGW)
- set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
+ set(FILE_RC ${TOP_SRC_DIR}/src/lyxwinres.rc)
message(STATUS "Using icon defined in resource file: ${FILE_RC}")
endif()