Skip to content

Commit dffd84a

Browse files
committed
Fix test adding support for scikit-build >= 0.9.0
scikit-build >= 0.9.0 converted skbuild.constants into functions to support custom platform name. See scikit-build/scikit-build@cb324b8
1 parent cea3094 commit dffd84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if not os.path.exists(CMAKE_DATA):
1515
from skbuild.constants import CMAKE_INSTALL_DIR as SKBUILD_CMAKE_INSTALL_DIR
1616
_cmake_data = os.path.abspath(os.path.join(
17-
os.path.dirname(__file__), '..', SKBUILD_CMAKE_INSTALL_DIR, 'cmake/data'))
17+
os.path.dirname(__file__), '..', SKBUILD_CMAKE_INSTALL_DIR(), 'cmake/data'))
1818
if os.path.exists(_cmake_data):
1919
CMAKE_DATA = _cmake_data
2020

0 commit comments

Comments
 (0)