Mercurial > hg > orthanc
changeset 4966:ee6d7937a6cf
pass user-specific compiler flags to the ConnectivityChecks subproject
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 26 Mar 2022 09:23:49 +0100 |
parents | c76eb3cedcf0 |
children | 6119ecbd4462 |
files | OrthancServer/CMakeLists.txt |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/CMakeLists.txt Wed Mar 23 17:51:39 2022 +0100 +++ b/OrthancServer/CMakeLists.txt Sat Mar 26 09:23:49 2022 +0100 @@ -573,6 +573,11 @@ -DUSE_SYSTEM_BOOST=${USE_SYSTEM_BOOST} -DUSE_LEGACY_JSONCPP=${USE_LEGACY_JSONCPP} ${Flags} + + -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} + -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} + -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} + -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} ) if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")