Skip to content

Commit

Permalink
try travis cmake location
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoppich committed Apr 6, 2017
1 parent 45a580b commit 0411171
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ before_install:
- wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
- chmod u+x qt-opensource-linux-x64-5.7.0.run
- sudo ./qt-opensource-linux-x64-5.7.0.run --verbose -platform minimal --script /home/travis/build/mjoppich/bioGUI/silent_qt_install.qs
- ls /usr/local/qt/
- ls /usr/local/qt/5.7/
- export PATH=/usr/local/qt/5.7/gcc_64/bin/:$PATH
- cd /home/travis/build/mjoppich/bioGUI


before_script:
- mkdir build
- cd build
- cmake ..
- PATH=/usr/local/qt/5.7/gcc_64/bin/:$PATH cmake ..

script: make
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if (UNIX AND NOT APPLE)
message(STATUS ">>> Linux")

set(Qt5_DIR "")
LIST(APPEND Qt5_DIR "~/Qt/5.8/gcc_64/" "~/Qt/5.7/gcc_64/")
LIST(APPEND Qt5_DIR "~/Qt/5.8/gcc_64/" "~/Qt/5.7/gcc_64/" "/usr/local/qt/5.7/gcc_64/")

set(ENV{OPENSSL_ROOT_DIR} "/home/users/joppich/libs/openssl/lib/")
set(ENV{LUA_DIR} "/home/users/joppich/libs/lua/")
Expand Down

0 comments on commit 0411171

Please sign in to comment.