aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-03-06 14:16:36 -0800
committerGerald Combs <gerald@wireshark.org>2022-03-09 02:07:51 +0000
commite482b375f2351449763b9cc4421eb80f943e3cb3 (patch)
treee901c7f76ba6c58b34292895826f121698e8917a /cmake/modules
parent9fe01522e1671769c6cbce674b9f7710c88bdd88 (diff)
Rename the "image" directory to "resources".
The "image" directory contains resource compiler assets and other application resources, so name it "resources."
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/UseExecutableResources.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/UseExecutableResources.cmake b/cmake/modules/UseExecutableResources.cmake
index edb80d62e9..8eeb4a790e 100644
--- a/cmake/modules/UseExecutableResources.cmake
+++ b/cmake/modules/UseExecutableResources.cmake
@@ -14,13 +14,13 @@ function(set_executable_resources EXE_NAME PROGRAM_NAME)
# Use the original Wireshark / TShark .rc copyright.
set(COPYRIGHT_INFO "2000 Gerald Combs <gerald@wireshark.org>, Gilbert Ramirez <gram@alumni.rice.edu> and many others")
endif()
- set(${EXE_NAME}_FILES ${${EXE_NAME}_FILES} ${CMAKE_BINARY_DIR}/image/${EXE_NAME}.rc PARENT_SCOPE)
+ set(${EXE_NAME}_FILES ${${EXE_NAME}_FILES} ${CMAKE_BINARY_DIR}/resources/${EXE_NAME}.rc PARENT_SCOPE)
if (EXE_RC_UNIQUE_RC)
set (_in_file ${EXE_NAME})
else()
set (_in_file "cli_template")
endif()
- set(ICON_PATH "${CMAKE_SOURCE_DIR}/image/")
- configure_file( ${CMAKE_SOURCE_DIR}/image/${_in_file}.rc.in ${CMAKE_BINARY_DIR}/image/${EXE_NAME}.rc @ONLY )
+ set(ICON_PATH "${CMAKE_SOURCE_DIR}/resources/icons/")
+ configure_file( ${CMAKE_SOURCE_DIR}/resources/${_in_file}.rc.in ${CMAKE_BINARY_DIR}/resources/${EXE_NAME}.rc @ONLY )
endif()
endfunction()