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

PKG: skip .py from install_rule

parent 6811d174
......@@ -30,13 +30,16 @@ function(install_rule src_file)
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.lib)$")
set(install_type FILES)
set(install_dir lib)
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.a)$")
set(install_type FILES)
set(install_dir lib)
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.pyd)$")
#python bindings are installed in install_python_bindings
continue()
elseif("${sfile_ABS_LOWER}" MATCHES "\\.lnk$")
#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")
continue()
elseif("${sfile_ABS_LOWER}" MATCHES "(\\.a)$")
set(install_type FILES)
set(install_dir lib)
elseif("${sfile_ABS_LOWER}" MATCHES "\\.prl$")
continue()
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