Skip to content

Commit 73e828a

Browse files
committed
Use CMake>3.16 RPATh behaviour
1 parent cc76c9d commit 73e828a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
cmake_minimum_required(VERSION 3.14)
2-
3-
# RPATH escaping (only in old CMake versions)
4-
if (CMAKE_VERSION VERSION_LESS "3.24.0")
5-
cmake_policy(SET CMP0095 OLD)
6-
endif()
1+
cmake_minimum_required(VERSION 3.16)
72

83
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
94
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_cmake_in_package_install_args() -> List[str]:
5555
"""Return default installation settings for installing libecole in the package."""
5656
system = platform.system()
5757
if system == "Linux":
58-
origin = r"\${ORIGIN}"
58+
origin = r"${ORIGIN}"
5959
elif system == "Darwin":
6060
origin = "@loader_path"
6161
else:

0 commit comments

Comments
 (0)