Skip to content
Permalink
Browse files

Adjust FindPython/Support.cmake for backport

  • Loading branch information
xnox authored and jwiegley committed Dec 3, 2019
1 parent 110faf3 commit 571c8c59715656c317e1c352ea5012171583ce05
Showing with 5 additions and 1 deletion.
  1. +5 −1 cmake/FindPython/Support.cmake
@@ -5,7 +5,11 @@
# This file is a "template" file used by various FindPython modules.
#

cmake_policy (GET CMP0094 _${_PYTHON_PREFIX}_LOOKUP_POLICY)
if(POLICY CMP0094)
cmake_policy (GET CMP0094 _${_PYTHON_PREFIX}_LOOKUP_POLICY)
else()
set (_${_PYTHON_PREFIX}_FIND_STRATEGY "LOCATION")
endif()

cmake_policy (VERSION 3.7)

0 comments on commit 571c8c5

Please sign in to comment.
You can’t perform that action at this time.