mirror of
https://github.com/romixlab/qmsgpack.git
synced 2026-01-25 08:32:23 +01:00
15 lines
396 B
CMake
15 lines
396 B
CMake
if (Qt5Core_FOUND)
|
|
find_package(Qt5Test REQUIRED)
|
|
|
|
include_directories(${Qt5Test_INCLUDE_DIRS})
|
|
add_definitions(${Qt5Test_DEFINITIONS})
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Test_EXECUTABLE_COMPILE_FLAGS}")
|
|
|
|
set(TEST_LIBRARIES ${Qt5Test_LIBRARIES})
|
|
endif ()
|
|
|
|
set(TEST_SUBDIRS pack unpack mixed stream qttypes)
|
|
|
|
foreach(subdir ${TEST_SUBDIRS})
|
|
add_subdirectory(${subdir})
|
|
endforeach() |