mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
fix f51d1fb
This commit is contained in:
parent
f51d1fb4f3
commit
3daa57f8c8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user