mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 13:01:19 +02:00
13 lines
465 B
CMake
13 lines
465 B
CMake
--- Modules/Platform/FreeBSD.cmake.orig 2022-04-10 15:22:59 UTC
|
|
+++ Modules/Platform/FreeBSD.cmake
|
|
@@ -26,4 +26,9 @@ foreach(type SHARED_LIBRARY SHARED_MODULE EXE)
|
|
set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic")
|
|
endforeach()
|
|
|
|
+# Prefer python3 (installed by the python3 metaport) over the
|
|
+# highest-versioned Python3 interpreter, when asked for a non-exact
|
|
+# Python3 version.
|
|
+set(Python3_FIND_UNVERSIONED_NAMES FIRST)
|
|
+
|
|
include(Platform/UnixPaths)
|