git-svn-id: svn://db.shs.com.ru/libs@722 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -426,6 +426,18 @@ macro(qt_target_link_libraries _NAME)
|
||||
endmacro()
|
||||
|
||||
|
||||
# usage: qt_target_compile_definitions(...), syntax similar to original "target_compile_definitions()"
|
||||
# Specify compile definitions to use when compiling a given <target>
|
||||
macro(qt_target_compile_definitions _NAME)
|
||||
foreach(_v ${_QT_VERSIONS_})
|
||||
if (LOCAL_FOUND${_v})
|
||||
set(_TARGET ${_NAME}${TARGET_SUFFIX_Qt${_v}})
|
||||
target_compile_definitions(${_TARGET} ${ARGN})
|
||||
endif()
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
|
||||
# usage: qt_install(...), syntax similar to original "install()"
|
||||
# install targets for founded Qt versions
|
||||
# if DESTINATION set to "QtBin" files will be installed
|
||||
|
||||
Reference in New Issue
Block a user