Skip to content

Commit 16de9ef

Browse files
authored
Unconditionally find the python interpreter (#356)
Signed-off-by: Michael Carroll <[email protected]>
1 parent 0c78b96 commit 16de9ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ set(GZ_UTILS_VER ${gz-utils2_VERSION_MAJOR})
8282
gz_find_package(gz-math7 REQUIRED)
8383
set(GZ_MATH_VER ${gz-math7_VERSION_MAJOR})
8484

85+
find_package(Python3 REQUIRED COMPONENTS Interpreter)
86+
8587
#--------------------------------------
8688
# Find if command is available. This is used to enable tests.
8789
# Note that CLI files are installed regardless of whether the dependency is

0 commit comments

Comments
 (0)