aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2016-07-28 01:32:32 +0300
committerKonstantin Podsvirov <konstantin@podsvirov.pro>2016-07-28 01:32:32 +0300
commit33d2b2a04fba0f54a29b03f83f78b3a0c2000bd1 (patch)
tree2eb1b2ce7f3df543e6b499416e068966c76cfcf8
parent38c5f2f3e6130ba79056480ce0f5149aa5dca38e (diff)
downloadprotobuf-33d2b2a04fba0f54a29b03f83f78b3a0c2000bd1.tar.gz
protobuf-33d2b2a04fba0f54a29b03f83f78b3a0c2000bd1.tar.bz2
protobuf-33d2b2a04fba0f54a29b03f83f78b3a0c2000bd1.zip
CMake: Bugfix for protobuf_MODULE_COMPATIBLE
Removed excess endif()
-rw-r--r--cmake/protobuf-module.cmake.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/protobuf-module.cmake.in b/cmake/protobuf-module.cmake.in
index 6e0bcf90..614e4c04 100644
--- a/cmake/protobuf-module.cmake.in
+++ b/cmake/protobuf-module.cmake.in
@@ -147,7 +147,6 @@ function(_protobuf_find_libraries name filename)
LOCATION_RELEASE)
get_target_property(${name}_LIBRARY_DEBUG protobuf::lib${filename}
LOCATION_DEBUG)
- endif()
select_library_configurations(${name})
set(${name}_LIBRARY ${${name}_LIBRARY} PARENT_SCOPE)