mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 21:37:04 +08:00
update
This commit is contained in:
parent
5661d46862
commit
1729b46e13
@ -37,9 +37,9 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
##生成版本信息头文件
|
##生成版本信息头文件
|
||||||
set(HEADER_FILE_VERSION_PATH ${CMAKE_SOURCE_DIR}/example/Version.h)
|
set(HEADER_FILE_VERSION_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../example/Version.h)
|
||||||
configure_file(
|
configure_file(
|
||||||
${CMAKE_SOURCE_DIR}/.cmake/Version.h.in
|
${CMAKE_CURRENT_SOURCE_DIR}/../.cmake/Version.h.in
|
||||||
${HEADER_FILE_VERSION_PATH}
|
${HEADER_FILE_VERSION_PATH}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ set(EXAMPLE_VERSION_RC_PATH "")
|
|||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(EXAMPLE_VERSION_RC_PATH ${CMAKE_BINARY_DIR}/version_${PROJECT_NAME}.rc)
|
set(EXAMPLE_VERSION_RC_PATH ${CMAKE_BINARY_DIR}/version_${PROJECT_NAME}.rc)
|
||||||
configure_file(
|
configure_file(
|
||||||
${CMAKE_SOURCE_DIR}/.cmake/version_exe.rc.in
|
${CMAKE_CURRENT_SOURCE_DIR}/../.cmake/version_exe.rc.in
|
||||||
${EXAMPLE_VERSION_RC_PATH}
|
${EXAMPLE_VERSION_RC_PATH}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@ -68,7 +68,7 @@ set(FLUENTUI_VERSION_RC_PATH "")
|
|||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(FLUENTUI_VERSION_RC_PATH ${CMAKE_BINARY_DIR}/version_${PROJECT_NAME}.rc)
|
set(FLUENTUI_VERSION_RC_PATH ${CMAKE_BINARY_DIR}/version_${PROJECT_NAME}.rc)
|
||||||
configure_file(
|
configure_file(
|
||||||
${CMAKE_SOURCE_DIR}/.cmake/version_dll.rc.in
|
${CMAKE_CURRENT_SOURCE_DIR}/../.cmake/version_dll.rc.in
|
||||||
${FLUENTUI_VERSION_RC_PATH}
|
${FLUENTUI_VERSION_RC_PATH}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user