mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
CMakeLists.txt tidy-ups
Indentation fixes and remove obsolete conditional from kdelibs
This commit is contained in:
parent
b1de3377d0
commit
e26bd0891d
@ -19,6 +19,4 @@ find_package(Qt5Gui ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
|
|||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
||||||
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
|
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||||
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
|
||||||
endif()
|
|
||||||
|
@ -5,13 +5,13 @@ include(ECMMarkAsTest)
|
|||||||
find_package(Qt5 5.2.0 CONFIG REQUIRED Test Gui)
|
find_package(Qt5 5.2.0 CONFIG REQUIRED Test Gui)
|
||||||
|
|
||||||
macro(kimageformats_executable_tests)
|
macro(kimageformats_executable_tests)
|
||||||
foreach(_testname ${ARGN})
|
foreach(_testname ${ARGN})
|
||||||
add_executable(${_testname} ${_testname}.cpp)
|
add_executable(${_testname} ${_testname}.cpp)
|
||||||
target_link_libraries(${_testname} Qt5::Gui)
|
target_link_libraries(${_testname} Qt5::Gui)
|
||||||
ecm_mark_as_test(${_testname})
|
ecm_mark_as_test(${_testname})
|
||||||
endforeach(_testname)
|
endforeach(_testname)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
kimageformats_executable_tests(
|
kimageformats_executable_tests(
|
||||||
imageconverter
|
imageconverter
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user