2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2015-10-04 06:01:18 +01:00
|
|
|
|
|
|
|
# partial module - included by src/cmake/CMakeLists.txt
|
|
|
|
|
|
|
|
set(TGT test-${PKG}-cmake)
|
|
|
|
|
|
|
|
enable_language(CXX)
|
|
|
|
add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)
|
|
|
|
|
2017-02-03 03:08:38 +00:00
|
|
|
find_package(Boost ${PKG_VERSION} EXACT COMPONENTS chrono context serialization system thread REQUIRED)
|
2015-10-04 06:01:18 +01:00
|
|
|
target_link_libraries(${TGT} ${Boost_LIBRARIES})
|
|
|
|
|
|
|
|
install(TARGETS ${TGT} DESTINATION bin)
|