7eeb07432f
KDE Applications - please review OBS-URL: https://build.opensuse.org/request/show/443471 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/rocs?expand=0&rev=47
21 lines
699 B
Diff
21 lines
699 B
Diff
From 0f4955b0b25a0caad18a0b1bbe268c239bbe8da5 Mon Sep 17 00:00:00 2001
|
|
From: Raymond Wooninck <tittiatcoke@gmail.com>
|
|
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(
|
|
./
|
|
)
|