Print

Print


@matthewfeickert commented on this pull request.



> @@ -78,7 +78,7 @@ if ( NOT ${VALID_PIP_EXIT_CODE} EQUAL 0 )
   install(
     CODE
     "EXECUTE_PROCESS(
-      COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} install \
+    COMMAND /usr/bin/env CC=c++ CFLAGS=\"-std=c++17\" ${PYTHON_EXECUTABLE} ${SETUP_PY} install \

Can probably just do something similar to [what ROOT does with `CMAKE_CXX_STANDARD`](https://github.com/root-project/root/blob/a17c8472ee6257a2937db46e465e43cdc6f71638/cmake/modules/CheckCompiler.cmake#L144-L169).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1651#discussion_r830367166
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1