summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-09-02 21:27:27 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-09-02 21:27:27 +0000
commit826ee998a4fd7e19b89427d16265d88ba7820957 (patch)
tree7215b13c74ff029943a6adfb4ae2371aebd53479 /src
parentExtension updates for 1.0 (!808) (diff)
downloadinkscape-826ee998a4fd7e19b89427d16265d88ba7820957.tar.gz
inkscape-826ee998a4fd7e19b89427d16265d88ba7820957.zip
2geom: Use sincos function if available
Diffstat (limited to 'src')
-rw-r--r--src/2geom/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/2geom/CMakeLists.txt b/src/2geom/CMakeLists.txt
index 3c18c4ffd..e1e708e6d 100644
--- a/src/2geom/CMakeLists.txt
+++ b/src/2geom/CMakeLists.txt
@@ -3,6 +3,10 @@ if (CMAKE_BUILD_TYPE MATCHES Strict)
set(CMAKE_CXX_FLAGS_STRICT "${CMAKE_CXX_FLAGS_STRICT} -Wno-error=deprecated-declarations")
endif()
+if(HAVE_SINCOS)
+ add_definitions(-DHAVE_SINCOS)
+endif()
+
set(2geom_SRC
affine.cpp
basic-intersection.cpp