Allow enforcing absence of a target suffix for Syncthing Tray's test helper
This commit is contained in:
parent
47f7252bc0
commit
27c8a17f99
|
@ -62,9 +62,12 @@ endif ()
|
|||
# allow setting a library/application target suffix - A different configuration name might not require a different target
|
||||
# name since it might differ anyways (e.g. library extensions for static and shared configuration). Hence there's not simply
|
||||
# the configuration name used to distinguish targets as well.
|
||||
if (NOT DEFINED ${META_PROJECT_VARNAME_UPPER}_CONFIGURATION_TARGET_SUFFIX)
|
||||
# wrap this within "if (NOT DEFINED" so absence of a target suffix can be enforced within certain project files
|
||||
set(${META_PROJECT_VARNAME_UPPER}_CONFIGURATION_TARGET_SUFFIX
|
||||
""
|
||||
CACHE STRING "sets a target suffix for ${META_PROJECT_NAME}")
|
||||
endif ()
|
||||
set(CONFIGURATION_TARGET_SUFFIX
|
||||
""
|
||||
CACHE STRING "sets the target suffix for all projects within the current build")
|
||||
|
|
Loading…
Reference in New Issue