diff options
Diffstat (limited to 'src/boost-test.cmake')
-rw-r--r-- | src/boost-test.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/boost-test.cmake b/src/boost-test.cmake new file mode 100644 index 0000000..3875fec --- /dev/null +++ b/src/boost-test.cmake @@ -0,0 +1,14 @@ +# This file is part of MXE. +# See index.html for further information. + +# 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) + +find_package(Boost ${PKG_VERSION} EXACT COMPONENTS chrono serialization system thread REQUIRED) +target_link_libraries(${TGT} ${Boost_LIBRARIES}) + +install(TARGETS ${TGT} DESTINATION bin) |