testdiff2/SpiriQGC/libs/qtandroidserialport/CMakeLists.txt

15 lines
305 B
CMake

if (ANDROID)
add_library(qtandroidserialport
src/qserialport.cpp
src/qserialport_android.cpp
src/qserialportinfo.cpp
src/qserialportinfo_android.cpp
)
target_link_libraries(qtandroidserialport
)
target_include_directories(qtandroidserialport INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
endif()