[cmake-developers] [CMake 0016063]: Wrong protobuf search logic

Mantis Bug Tracker mantis at public.kitware.com
Thu Apr 14 04:40:42 EDT 2016


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=16063 
====================================================================== 
Reported By:                xseven
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16063
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-04-14 04:40 EDT
Last Modified:              2016-04-14 04:40 EDT
====================================================================== 
Summary:                    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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-04-14 04:40 xseven         New Issue                                    
======================================================================



More information about the cmake-developers mailing list