Skip to content

Commit 265a144

Browse files
Merge pull request #26 from akva2/fix_go_flag
fixed: append new gotools definitions to required flags
2 parents 7c8bb1a + e3f9f4c commit 265a144

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PROJECT(LRSpline)
33
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
44
SET(LRSpline_VERSION_MAJOR 1)
55
SET(LRSpline_VERSION_MINOR 5)
6-
SET(LRSpline_VERSION_PATCH 0)
6+
SET(LRSpline_VERSION_PATCH 1)
77
SET(LRSpline_VERSION ${LRSpline_VERSION_MAJOR}.${LRSpline_VERSION_MINOR}.${LRSpline_VERSION_PATCH})
88
IF(NOT WIN32)
99
SET(TIME_LRSPLINE 1)
@@ -89,6 +89,7 @@ IF(GoTools_FOUND)
8989
check_type_size(Go::BasisDerivsSf3 HAS_BD3 LANGUAGE CXX)
9090
if(HAS_BD3)
9191
add_definitions(-DGOTOOLS_HAS_BASISDERIVS_SF3)
92+
set(LRSpline_DEFINITIONS "${LRSpline_DEFINITIONS} -DGOTOOLS_HAS_BASISDERIVS_SF3")
9293
endif()
9394
ELSE()
9495
MESSAGE(STATUS "Compiling without GoTools")

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lrspline (1.5.0-1~xenial) xenial; urgency=medium
1+
lrspline (1.5.1-1~xenial) xenial; urgency=medium
22

33
* New version
44

0 commit comments

Comments
 (0)