fixes for Debian 8 and newer AspectC++ versions

-  Debian 8 does not provide libsvga1-dev anymore, so Bochs cannot be
    built --with-svga (which is included in --with-all-libs).

 -  The latest AspectC++ nightlies should work without any
    -D__NO_MATH_INLINES -D__STRICT_ANSI__ tricks.

Change-Id: I56801a0735eb4922689dff812923d79faa94d26e
This commit is contained in:
Horst Schirmeier
2016-01-06 11:22:34 +01:00
parent f114944af9
commit fe5ccdf425
3 changed files with 28 additions and 20 deletions

View File

@ -5,6 +5,10 @@ if("${CMAKE_VERSION}" VERSION_GREATER 2.8.3)
# (makes cmake 2.8.4 and newer)
cmake_policy(SET CMP0017 NEW)
endif("${CMAKE_VERSION}" VERSION_GREATER 2.8.3)
if(NOT ("${CMAKE_VERSION}" VERSION_LESS 3.0)) # >= 3.0?
# don't overwrite PROJECT_VERSION when calling PROJECT()
cmake_policy(SET CMP0048 OLD)
endif()
ENABLE_TESTING()
PROJECT(Fail*)