Make target 'interface_sources_for_qtcreator' unique

This commit is contained in:
Martchus 2017-11-16 01:59:43 +01:00
parent e283eea1f0
commit a4e7cbd5c3
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ endif()
# Qt Creator does not show INTERFACE_SOURCES in project tree, so create a custom target as workaround
if(META_HEADER_ONLY_LIB)
add_custom_target(interface_sources_for_qtcreator EXCLUDE_FROM_ALL SOURCES ${HEADER_FILES})
add_custom_target(${TARGET_PREFIX}${META_PROJECT_NAME}${TARGET_SUFFIX}_interface_sources_for_qtcreator EXCLUDE_FROM_ALL SOURCES ${HEADER_FILES})
endif()
# create the CMake package config file from template