Update and enhance travis's building capabilities.

Borrow (proper) ideas from [ldionne's work](https://github.com/ldionne/hana/blob/c8542789946b9ff8be693301c7b57d8bd14d8c4b/.travis.yml)
This commit is contained in:
Jason Felds
2015-09-25 20:20:21 -04:00
parent 731bc0984a
commit 559616686c
3 changed files with 85 additions and 47 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ elseif(LINUX)
endif()
find_package(yasm)
if (NOT YASM_FOUND)
if (WITH_FFMPEG AND NOT YASM_FOUND)
message("YASM was not found. Please install if you wish for ffmpeg support.")
set(WITH_FFMPEG OFF)
endif()