mirror of https://github.com/WerWolv/ImHex.git
build: Fix build error when python is installed in Program Files
This commit is contained in:
parent
132fc181cd
commit
3cd177bff2
|
@ -176,7 +176,7 @@ macro(createPackage)
|
||||||
|
|
||||||
# Grab all dynamically linked dependencies.
|
# Grab all dynamically linked dependencies.
|
||||||
INSTALL(CODE "set(CMAKE_INSTALL_BINDIR \"${CMAKE_INSTALL_BINDIR}\")")
|
INSTALL(CODE "set(CMAKE_INSTALL_BINDIR \"${CMAKE_INSTALL_BINDIR}\")")
|
||||||
INSTALL(CODE "get_filename_component(PY_PARENT ${Python_LIBRARIES} DIRECTORY)")
|
INSTALL(CODE "get_filename_component(PY_PARENT \"${Python_LIBRARIES}\" DIRECTORY)")
|
||||||
INSTALL(CODE "LIST(APPEND DEP_FOLDERS \${PY_PARENT})")
|
INSTALL(CODE "LIST(APPEND DEP_FOLDERS \${PY_PARENT})")
|
||||||
install(CODE [[
|
install(CODE [[
|
||||||
file(GET_RUNTIME_DEPENDENCIES
|
file(GET_RUNTIME_DEPENDENCIES
|
||||||
|
|
Loading…
Reference in New Issue