mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
cmake: add icon on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34840 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ecc1e3c5d0
commit
4c2c54f7ea
1
development/cmake/lyx.rc
Normal file
1
development/cmake/lyx.rc
Normal file
@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "..\\Win32\\packaging\\icons\\lyx.ico"
|
@ -63,11 +63,18 @@ if (LYX_VLD)
|
||||
set(vld_files ${CMAKE_CURRENT_BINARY_DIR}/vld.ini ${CMAKE_CURRENT_BINARY_DIR}/memory_leak_report.txt)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(FILE_RC ${CMAKE_SOURCE_DIR}/lyx.rc)
|
||||
message(STATUS "Using icon defined in resource file: ${FILE_RC}")
|
||||
endif()
|
||||
|
||||
|
||||
add_executable(${_lyx}
|
||||
${WIN32_CONSOLE}
|
||||
${lyx_sources}
|
||||
${lyx_headers}
|
||||
${vld_files}
|
||||
${FILE_RC}
|
||||
)
|
||||
|
||||
lyx_add_gcc_pch(${_lyx})
|
||||
|
Loading…
Reference in New Issue
Block a user