refactor: mv res/win/version.rc.in => deploy/version.rc.in
This commit is contained in:
parent
e6fbf983e9
commit
a53e289a45
4 changed files with 14 additions and 3 deletions
|
|
@ -89,5 +89,6 @@ configure_packaging()
|
||||||
|
|
||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
add_subdirectory(deploy)
|
||||||
|
|
||||||
post_config_all()
|
post_config_all()
|
||||||
|
|
|
||||||
|
|
@ -338,9 +338,6 @@ macro(configure_windows_libs)
|
||||||
/DDESKFLOW_VERSION=\"${DESKFLOW_VERSION}\"
|
/DDESKFLOW_VERSION=\"${DESKFLOW_VERSION}\"
|
||||||
/D_XKEYCHECK_H)
|
/D_XKEYCHECK_H)
|
||||||
|
|
||||||
configure_file(${PROJECT_SOURCE_DIR}/res/win/version.rc.in
|
|
||||||
${PROJECT_BINARY_DIR}/src/version.rc @ONLY)
|
|
||||||
|
|
||||||
configure_openssl()
|
configure_openssl()
|
||||||
|
|
||||||
endmacro()
|
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()
|
||||||
Loading…
Reference in a new issue