Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix f51d1fb
  • Loading branch information
jef-n committed Oct 13, 2015
1 parent f51d1fb commit 3daa57f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 3daa57f

Please sign in to comment.