Commit 584d3654 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

PKG: skip .py from install_rule

parent 6811d174
...@@ -30,13 +30,16 @@ function(install_rule src_file) ...@@ -30,13 +30,16 @@ function(install_rule src_file)
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.lib)$") elseif("${sfile_ABS_LOWER}" MATCHES "(\\.lib)$")
set(install_type FILES) set(install_type FILES)
set(install_dir lib) set(install_dir lib)
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.a)$") elseif("${sfile_ABS_LOWER}" MATCHES "(\\.pyd)$")
set(install_type FILES) #python bindings are installed in install_python_bindings
set(install_dir lib) continue()
elseif("${sfile_ABS_LOWER}" MATCHES "\\.lnk$") elseif("${sfile_ABS_LOWER}" MATCHES "\\.lnk$")
#we don't install symlink on windows. issue a warning #we don't install symlink on windows. issue a warning
message(WARNING "${sfile_ABS} is a symbolic link and this will be excluded from package") message(WARNING "${sfile_ABS} is a symbolic link and this will be excluded from package")
continue() continue()
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.a)$")
set(install_type FILES)
set(install_dir lib)
elseif("${sfile_ABS_LOWER}" MATCHES "\\.prl$") elseif("${sfile_ABS_LOWER}" MATCHES "\\.prl$")
continue() continue()
elseif("${sfile_ABS_LOWER}" MATCHES "\\.la$") elseif("${sfile_ABS_LOWER}" MATCHES "\\.la$")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment