summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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