Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
pinocchio
Commits
0d7cd60b
Commit
0d7cd60b
authored
Jun 27, 2016
by
jcarpent
Committed by
Justin Carpentier
Jul 06, 2016
Browse files
[CMake] Force install of *.py files instead a copy of symbolic links
parent
d2450f16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
0d7cd60b
...
...
@@ -153,7 +153,7 @@ IF(BUILD_PYTHON_INTERFACE)
EXECUTE_PROCESS
(
COMMAND
${
PYTHON_EXECUTABLE
}
-m py_compile
${${
PROJECT_NAME
}
_BINARY_DIR
}
/lib/python/
${
PROJECT_NAME
}
/
${
pythonFile
}
)
${${
PROJECT_NAME
}
_BINARY_DIR
}
/lib/python/
${
PROJECT_NAME
}
/
${
pythonFile
}
)
# Clean generated files.
SET_PROPERTY
(
...
...
@@ -162,7 +162,7 @@ IF(BUILD_PYTHON_INTERFACE)
"
${${
PROJECT_NAME
}
_BINARY_DIR
}
/lib/python/
${
PROJECT_NAME
}
/
${
pythonFile
}
c"
)
INSTALL
(
FILES
"
${${
PROJECT_NAME
}
_
BINARY_DIR
}
/lib/python/
${
PROJECT_NAME
}
/
${
python
File
}
"
"
${${
PROJECT_NAME
}
_
SOURCE_DIR
}
/src
/
${
python
}
"
"
${${
PROJECT_NAME
}
_BINARY_DIR
}
/lib/python/
${
PROJECT_NAME
}
/
${
pythonFile
}
c"
DESTINATION
${
PYTHON_SITELIB
}
/
${
PROJECT_NAME
}
)
ENDFOREACH
(
python
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment