projects
/
platform
/
upstream
/
cmake.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bc7e0d19531c545f740790f4887a071af91bf40e
[platform/upstream/cmake.git]
/
Tests
/
FindPython
/
FindPythonScript.cmake
1
2
if (PYTHON_MUST_NOT_BE_FOUND)
3
find_package(${PYTHON_PACKAGE_NAME} QUIET)
4
if (${PYTHON_PACKAGE_NAME}_FOUND)
5
message(FATAL_ERROR "${PYTHON_PACKAGE_NAME}: unexpectedly founded.")
6
endif()
7
else()
8
find_package(${PYTHON_PACKAGE_NAME} REQUIRED QUIET)
9
endif()