Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Dec 17, 2023
1 parent 1b89b67 commit 0bd20af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ else()
endif()

if (DEFINED SKBUILD)
message(STATUS "PYTHON is ${Python_EXECUTABLE}")
message(STATUS "CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX}")
message(STATUS "CMAKE_SYSTEM_PREFIX_PATH is ${CMAKE_SYSTEM_PREFIX_PATH}")
execute_process(COMMAND ${Python_EXECUTABLE} -m pip show -f gemmi
COMMAND_ECHO STDOUT)
message(STATUS "-- end --")
file(GLOB_RECURSE FOUND_FILES LIST_DIRECTORIES true
c:/*/gemmi-config.cmake)
c:/Users/runneradmin/AppData/Local/*/gemmi-config.cmake)
message(STATUS "found gemmi configs: ${FOUND_FILES}")
set(CMAKE_FIND_DEBUG_MODE TRUE)
find_package(gemmi 0.6.4 CONFIG REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ input = "servalcat/__init__.py"
build-verbosity = 2
test-command = "python {project}/tests/test_for_ci.py"
[tool.cibuildwheel.environment]
SKBUILD_CMAKE_ARGS = '-DBUILD_SHARED_LIBS=OFF;-DINSTALL_DEV_FILES=ON'
SKBUILD_CMAKE_ARGS = '-DBUILD_SHARED_LIBS=OFF;-DINSTALL_DEV_FILES=ON;-DBUILD_GEMMI_PROGRAM=OFF'

0 comments on commit 0bd20af

Please sign in to comment.