Skip to content
Permalink
Browse files

fix f51d1fb

  • Loading branch information
jef-n committed Oct 13, 2015
1 parent f51d1fb commit 3daa57f8c8d46f3a6c706a31de7b79f92ddb2b01
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/CMakeLists.txt
@@ -327,6 +327,7 @@ SET(QGIS_CORE_SRCS
geometry/qgswkbtypes.cpp
)

INCLUDE(CheckCXXSourceCompiles)
CHECK_CXX_SOURCE_COMPILES("#include <cmath>\nint main() { double d = std::round (0.3); return 0; }\n" HAVE_STD_ROUND)
IF(HAVE_STD_ROUND)
ADD_DEFINITIONS(-DHAVE_STD_ROUND)

0 comments on commit 3daa57f

Please sign in to comment.
You can’t perform that action at this time.