mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 04:59:52 +00:00
conditionally install pdb
This commit is contained in:
@@ -98,7 +98,9 @@ IF(PYTHONINTERP_FOUND AND NOT "${PYTHON_EXECUTABLE}" STREQUAL "")
|
|||||||
DESTINATION "${python_package_dir}/ifcopenshell")
|
DESTINATION "${python_package_dir}/ifcopenshell")
|
||||||
INSTALL(TARGETS _ifcopenshell_wrapper
|
INSTALL(TARGETS _ifcopenshell_wrapper
|
||||||
DESTINATION "${python_package_dir}/ifcopenshell")
|
DESTINATION "${python_package_dir}/ifcopenshell")
|
||||||
install(FILES $<TARGET_PDB_FILE:_ifcopenshell_wrapper> DESTINATION bin OPTIONAL)
|
if (MSVC)
|
||||||
|
install(FILES $<TARGET_PDB_FILE:_ifcopenshell_wrapper> DESTINATION bin OPTIONAL)
|
||||||
|
endif()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ELSE()
|
ELSE()
|
||||||
MESSAGE(WARNING "No Python interpreter found, unable to install the Python wrapper")
|
MESSAGE(WARNING "No Python interpreter found, unable to install the Python wrapper")
|
||||||
|
|||||||
Reference in New Issue
Block a user