Skip to content

Commit 5b507c2

Browse files
committed
Add REAL_T_IS_DOUBLE to non-Windows
1 parent ee8d892 commit 5b507c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ TARGET_COMPILE_OPTIONS(${PROJECT_NAME} PUBLIC
123123
>
124124
$<$<NOT:${compiler_is_msvc}>:
125125
-Wno-unused-value
126+
$<$<STREQUAL:${FLOAT_PRECISION},double>:/DREAL_T_IS_DOUBLE>
126127
$<${compiler_is_gnu}:
127128
-Wno-attributes
128129
-Wno-attributes=r1::

0 commit comments

Comments
 (0)