mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
enable examples and unittests for Qt5
svn path=/trunk/kdesupport/qca/; revision=1348032
This commit is contained in:
parent
7d073db453
commit
be81ce4bd5
@ -157,7 +157,7 @@ add_subdirectory(src)
|
||||
add_subdirectory(tools)
|
||||
add_subdirectory(plugins)
|
||||
|
||||
if(BUILD_TESTS AND NOT Qt5Core_FOUND)
|
||||
if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(unittest)
|
||||
add_subdirectory(examples)
|
||||
|
@ -1,6 +1,9 @@
|
||||
ENABLE_TESTING()
|
||||
# QTEST_MAIN is using QApplication when QT_GUI_LIB is defined
|
||||
remove_definitions(-DQT_GUI_LIB)
|
||||
if(Qt5Core_FOUND)
|
||||
find_package(Qt5Transitional REQUIRED Test)
|
||||
endif(Qt5Core_FOUND)
|
||||
add_subdirectory(base64unittest)
|
||||
add_subdirectory(bigintunittest)
|
||||
add_subdirectory(certunittest)
|
||||
|
Loading…
x
Reference in New Issue
Block a user