test for cmake

This commit is contained in:
mutouyun 2019-01-01 15:48:11 +08:00
parent 6849931a67
commit 1cb279e450
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ matrix:
before_install:
- eval "${MATRIX_EVAL}"
- ls -l /usr/include/x86_64-linux-gnu/qt5
- ls -l /usr/include/qt5
- qmake -v
script:

View File

@ -2,6 +2,7 @@ project(test)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_PREFIX_PATH /usr/include/qt5)
find_package(Qt5 COMPONENTS Core Test REQUIRED)