View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016063 | CMake | CMake | public | 2016-04-14 04:40 | 2016-06-10 14:31 | ||||
Reporter | xseven | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | Windows | OS Version | 10 | |||||
Product Version | CMake 3.5.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016063: Wrong protobuf search logic | ||||||||
Description | I faced a problem with using find_package(Protobuf). I'm using protobuf-3.0.0-beta-2 I built it and installed via MSVC 2015 but module looks for ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Debug)and Release which seem missing in contemporary MSVC build anymore Could be more reasonable to use PROTOBUF_SRC_ROOT_FOLDER as a path to installed protobuf files after build? | ||||||||
Steps To Reproduce | Build protobuf-3.0.0-beta-2 Set PROTOBUF_SRC_ROOT_FOLDER run CMake 3.5.1 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0040862) Konstantin Podsvirov (reporter) 2016-04-14 14:28 edited on: 2016-04-14 14:29 |
Since version 3.0 protobuf project provide CMake project file to build on Windows. Now standard paths from GNUInstallDirs module is used when installing the project. Also exported CMake package with the appropriate configuration. Now you can find a package like this: find_package(Protobuf CONFIG) This is compatible with FindProtobuf.cmake module, which was previously used. Try it. My PRs on github: https://github.com/google/protobuf/pulls?q=is%3Apr+author%3Apodsvirov+is%3Aclosed [^] I guess for a while both versions will coexist. At least, I strive for compatibility. |
(0042982) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-04-14 04:40 | xseven | New Issue | |
2016-04-14 14:28 | Konstantin Podsvirov | Note Added: 0040862 | |
2016-04-14 14:29 | Konstantin Podsvirov | Note Edited: 0040862 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042982 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |