Skip to content

Commit

Permalink
Merge pull request #94 from jwindgassen/fix-python-dir
Browse files Browse the repository at this point in the history
Fix CMake Paths to Python
  • Loading branch information
burlen authored Jan 10, 2023
2 parents 1eb4475 + f18effc commit b7a2cdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMake/SENSEIConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ endif()
include(senseiCore)

if (ENABLE_PYTHON)
set(SENSEI_PYTHON_DIR "${CMAKE_CURRENT_LIST_DIR}/../../@SENSEI_PYTHON_DIR@")
set(SENSEI_PYTHON_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../@SENSEI_PYTHON_DIR@")

include(sPython)

Expand Down
2 changes: 1 addition & 1 deletion CMake/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (ENABLE_PYTHON)

# the destination of all SENSEI Python codes
set(SENSEI_PYTHON_SITE
"${CMAKE_INSTALL_LIBDIR}/python-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/"
"${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/"
CACHE STRING "Where Python modules are compiled and installed.")

set(SENSEI_PYTHON_DIR "${SENSEI_PYTHON_SITE}/sensei/"
Expand Down

0 comments on commit b7a2cdb

Please sign in to comment.