From 0f4955b0b25a0caad18a0b1bbe268c239bbe8da5 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Sat, 19 Nov 2016 13:36:11 +0100 Subject: Make it work on Leap diff --git a/libgraphtheory/CMakeLists.txt b/libgraphtheory/CMakeLists.txt index 0065feb..e61e77d 100644 --- a/libgraphtheory/CMakeLists.txt +++ b/libgraphtheory/CMakeLists.txt @@ -21,6 +21,9 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +SET(GCC_COVERAGE_COMPILE_FLAGS "-fext-numeric-literals") +SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}" ) + include_directories( ./ )