mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-06 02:33:27 +02:00
use absolute path to interface icon
This commit is contained in:
parent
301124ba3c
commit
ae67da4bcb
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
IDI_ICON1 ICON DISCARDABLE "@CONFIGURE_ICON_FILENAME@"
|
||||
IDI_ICON1 ICON DISCARDABLE "@CONFIGURE_ICON_PATH@"
|
||||
|
|
|
@ -100,7 +100,7 @@ if (APPLE)
|
|||
set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME ${INTERFACE_BUNDLE_NAME})
|
||||
elseif(WIN32)
|
||||
# configure an rc file for the chosen icon
|
||||
set(CONFIGURE_ICON_FILENAME ${INTERFACE_ICON_FILENAME})
|
||||
set(CONFIGURE_ICON_PATH "${CMAKE_CURRENT_SOURCE_DIR}/icon/${INTERFACE_ICON_FILENAME}")
|
||||
set(CONFIGURE_ICON_RC_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Icon.rc")
|
||||
configure_file("${HF_CMAKE_DIR}/templates/Icon.rc.in" ${CONFIGURE_ICON_RC_OUTPUT})
|
||||
|
||||
|
|
Loading…
Reference in a new issue