mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
define QT_NO_USING_NAMESPACE when testing is enabled
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
a4f5ce9b4d
commit
abafb73acb
1 changed files with 2 additions and 0 deletions
|
@ -448,6 +448,8 @@ if(ENABLE_TESTING)
|
|||
)
|
||||
enable_testing()
|
||||
add_definitions(-DQT_BUILD_INTERNAL)
|
||||
# most tests are not namespaces aware
|
||||
add_definitions(-DQT_NO_USING_NAMESPACE)
|
||||
endif()
|
||||
|
||||
# optional packages
|
||||
|
|
Loading…
Add table
Reference in a new issue