mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-06-25 01:21:33 +02:00
11 lines
293 B
CMake
11 lines
293 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 ()
|
|
|
|
add_subdirectory(pack) |