mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 17:49:03 +08:00
42bd1e8994
* [nanopb] Remove python path * version * fix tool * version
23 lines
719 B
Diff
23 lines
719 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4a3d31e..82611ef 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -58,12 +58,15 @@ if(nanopb_BUILD_GENERATOR)
|
|
install(
|
|
FILES ${PROJECT_BINARY_DIR}/${generator_proto_py_file}
|
|
${generator_proto_file}
|
|
- DESTINATION ${PYTHON_INSTDIR}/proto/
|
|
+ DESTINATION ${CMAKE_INSTALL_BINDIR}/proto/
|
|
)
|
|
endforeach()
|
|
|
|
install( FILES generator/proto/_utils.py
|
|
- DESTINATION ${PYTHON_INSTDIR}/proto/ )
|
|
+ DESTINATION ${CMAKE_INSTALL_BINDIR}/proto/ )
|
|
+
|
|
+ install( FILES generator/proto/__init__.py
|
|
+ DESTINATION ${CMAKE_INSTALL_BINDIR}/proto/ )
|
|
endif()
|
|
|
|
if(WIN32)
|