refactor: mv res/win/version.rc.in => deploy/version.rc.in
This commit is contained in:
@ -89,5 +89,6 @@ configure_packaging()
|
||||
|
||||
add_subdirectory(doc)
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(deploy)
|
||||
|
||||
post_config_all()
|
||||
|
||||
@ -338,9 +338,6 @@ macro(configure_windows_libs)
|
||||
/DDESKFLOW_VERSION=\"${DESKFLOW_VERSION}\"
|
||||
/D_XKEYCHECK_H)
|
||||
|
||||
configure_file(${PROJECT_SOURCE_DIR}/res/win/version.rc.in
|
||||
${PROJECT_BINARY_DIR}/src/version.rc @ONLY)
|
||||
|
||||
configure_openssl()
|
||||
|
||||
endmacro()
|
||||
|
||||
13
deploy/CMakeLists.txt
Normal file
13
deploy/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# SPDX-FileCopyrightText: 2024 Chris Rizzitello <sithlord48@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# Handle Pre install Items
|
||||
if(WIN32)
|
||||
|
||||
# Configure the windows version rc file
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_LIST_DIR}/version.rc.in
|
||||
${PROJECT_BINARY_DIR}/src/version.rc @ONLY
|
||||
)
|
||||
|
||||
endif()
|
||||
Reference in New Issue
Block a user