Skip to content

Commit c22f0ef

Browse files
author
Leo Alt
committed
Add comment
1 parent 10a431a commit c22f0ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/EthCompilerSettings.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
152152
# The major alternative compiler to GCC/Clang is Microsoft's Visual C++ compiler, only available on Windows.
153153
elseif (DEFINED MSVC)
154154
# Remove NDEBUG from RELWITHDEBINFO (to enable asserts)
155+
# CMAKE_CXX_FLAGS_RELWITHDEBINFO for GCC/Clang does not include NDEBUG
155156
string(REPLACE "/DNDEBUG" " " CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
156157

157158
add_compile_options(/MP) # enable parallel compilation

0 commit comments

Comments
 (0)