mirror of https://github.com/QMCPACK/qmcpack.git
adding a message about -fstandalone-debug
This commit is contained in:
parent
17160d4425
commit
8019f7f21b
|
@ -111,6 +111,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer")
|
||||||
# but until we discover how to use the ${OPENMP_OFFLOAD_COMPILE_OPTIONS} more selectively
|
# but until we discover how to use the ${OPENMP_OFFLOAD_COMPILE_OPTIONS} more selectively
|
||||||
# this is the only way to avoid a warning per compilation unit that contains an omp symbol.
|
# this is the only way to avoid a warning per compilation unit that contains an omp symbol.
|
||||||
if (NOT OFFLOAD_TARGET MATCHES "nvptx64")
|
if (NOT OFFLOAD_TARGET MATCHES "nvptx64")
|
||||||
|
message(STATUS "QMCPACK adds -fstandalone-debug for Debug builds")
|
||||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fstandalone-debug")
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fstandalone-debug")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fstandalone-debug")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fstandalone-debug")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue