Notes |
|
(0033512)
|
Alex Neundorf
|
2013-07-08 15:25
|
|
Having seen the feedback of this feature so far, I plan to change it so that it supports only find_package() in Config mode.
This will make things more reliable.
But this won't happen for 2.8.12.
|
|
|
(0036729)
|
Orion E. Poplawski
|
2014-09-03 17:19
|
|
Part of the issue seems to be brain dead searching for a debug library in FindProtobuf.cmake:
find_library(${name}_LIBRARY
NAMES ${filename}
PATHS ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/Release)
mark_as_advanced(${name}_LIBRARY)
find_library(${name}_LIBRARY_DEBUG
NAMES ${filename}
PATHS ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/Debug)
mark_as_advanced(${name}_LIBRARY_DEBUG)
if(NOT ${name}_LIBRARY_DEBUG)
# There is no debug library
set(${name}_LIBRARY_DEBUG ${${name}_LIBRARY} PARENT_SCOPE)
set(${name}_LIBRARIES ${${name}_LIBRARY} PARENT_SCOPE)
else()
# There IS a debug library
set(${name}_LIBRARIES
optimized ${${name}_LIBRARY}
debug ${${name}_LIBRARY_DEBUG}
PARENT_SCOPE
)
endif()
That seems very VisualStudio ? specific. On linux/unix it simply finds the same library twice. |
|
|
(0042314)
|
Kitware Robot
|
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. |
|