diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-09-02 21:27:27 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-09-02 21:27:27 +0000 |
| commit | 826ee998a4fd7e19b89427d16265d88ba7820957 (patch) | |
| tree | 7215b13c74ff029943a6adfb4ae2371aebd53479 /src | |
| parent | Extension updates for 1.0 (!808) (diff) | |
| download | inkscape-826ee998a4fd7e19b89427d16265d88ba7820957.tar.gz inkscape-826ee998a4fd7e19b89427d16265d88ba7820957.zip | |
2geom: Use sincos function if available
Diffstat (limited to 'src')
| -rw-r--r-- | src/2geom/CMakeLists.txt | 4 |
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 |
