mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
cmake: add icon on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34727 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
615d42d357
commit
f3137da47c
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"
|
@ -78,11 +78,17 @@ if (LYX_LEAK_DETECTION)
|
||||
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