1.99.44
This commit is contained in:
parent
c03e7dbd2b
commit
60a910332d
@ -1,4 +1,4 @@
|
||||
set(MYX_CMAKE_PACKAGE_VERSION "1.99.43")
|
||||
set(MYX_CMAKE_PACKAGE_VERSION "1.99.44")
|
||||
if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
```cmake
|
||||
if(MYX_CMAKE_USE_SYSTEM)
|
||||
find_package(MyxCMake 1.99.43 REQUIRED)
|
||||
find_package(MyxCMake 1.99.44 REQUIRED)
|
||||
else()
|
||||
include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake)
|
||||
endif()
|
||||
|
@ -1 +1 @@
|
||||
1.99.43
|
||||
1.99.44
|
||||
|
@ -56,9 +56,9 @@ function(myx_qt5_target_setup NAME)
|
||||
if("LinguistTools" IN_LIST ARG_COMPONENTS)
|
||||
foreach(iter ${ARG_LANGS})
|
||||
qt5_create_translation(qm
|
||||
"${PROJECT_SOURCE_DIR}/include"
|
||||
"${PROJECT_SOURCE_DIR}/src"
|
||||
"${PROJECT_SOURCE_DIR}/l10n/${NAME}_${iter}.ts")
|
||||
"${PROJECT_SOURCE_DIR}/include"
|
||||
"${PROJECT_SOURCE_DIR}/src"
|
||||
"${PROJECT_SOURCE_DIR}/l10n/${NAME}_${iter}.ts")
|
||||
target_sources(${NAME} PRIVATE ${qm})
|
||||
endforeach()
|
||||
unset(qm)
|
||||
@ -67,9 +67,11 @@ function(myx_qt5_target_setup NAME)
|
||||
target_sources(${NAME} PRIVATE ${ARG_PUBLIC_MOC} ${ARG_PRIVATE_MOC} ${moc_cpp} ${ui_h} ${qrc_cpp})
|
||||
|
||||
# Установка публичных заголовочных файлов
|
||||
install_relative(${PROJECT_SOURCE_DIR}
|
||||
FILES ${ARG_PUBLIC_MOC}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
COMPONENT dev
|
||||
)
|
||||
if(PROJECT_IS_TOP_LEVEL)
|
||||
install_relative(${PROJECT_SOURCE_DIR}
|
||||
FILES ${ARG_PUBLIC_MOC}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
COMPONENT dev
|
||||
)
|
||||
endif()
|
||||
endfunction()
|
||||
|
@ -76,9 +76,11 @@ function(myx_target_setup NAME)
|
||||
target_compile_definitions(${NAME} PRIVATE ${ARG_COMPILE_DEFINITIONS})
|
||||
|
||||
# Установка публичных заголовочных файлов
|
||||
install_relative(${PROJECT_SOURCE_DIR}
|
||||
FILES ${ARG_PUBLIC_HEADERS}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
COMPONENT dev
|
||||
)
|
||||
if(PROJECT_IS_TOP_LEVEL)
|
||||
install_relative(${PROJECT_SOURCE_DIR}
|
||||
FILES ${ARG_PUBLIC_HEADERS}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
COMPONENT dev
|
||||
)
|
||||
endif()
|
||||
endfunction()
|
||||
|
Loading…
Reference in New Issue
Block a user