Skip to content

Commit

Permalink
Add documentation to the function
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Paques <[email protected]>
  • Loading branch information
AlexisTM committed Oct 19, 2022
1 parent 25839ff commit bd2bbde
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmake/Modules/CheckCrossCompilingSoabi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

###############################################################################
#
# CheckCrossCompilingSoabi function will exit the compilation early if we
# defined a CMAKE_SYSROOT but not the PYTHON_SOABI.
#
# Example usage:
#
# CheckCrossCompilingSoabi()
#
###############################################################################
function(CheckCrossCompilingSoabi)
set(_python_code
"from sysconfig import get_config_var"
Expand Down

0 comments on commit bd2bbde

Please sign in to comment.