You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
449 B
17 lines
449 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
# partial module - included by src/cmake/CMakeLists.txt
|
|
|
|
set(TGT test-${PKG}-cmake)
|
|
|
|
enable_language(C)
|
|
add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.c)
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_check_modules(LIBOMEMO libomemo)
|
|
|
|
include_directories(${LIBOMEMO_INCLUDE_DIRS})
|
|
target_link_libraries(${TGT} ${LIBOMEMO_LIBRARIES})
|
|
|
|
install(TARGETS ${TGT} DESTINATION bin)
|