Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60216 - [gtest] GOOGLETEST_VERSION is not set in gtest 1.8.1-2
Attached to Project:
Community Packages
Opened by Søren Holm (sgh) - Thursday, 27 September 2018, 12:18 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 01 October 2018, 16:12 GMT
Opened by Søren Holm (sgh) - Thursday, 27 September 2018, 12:18 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 01 October 2018, 16:12 GMT
|
DetailsDescription:
For some reason GOOGLETEST_VERSION is not set giving compile errors like this : CMake Error at /usr/src/gtest/CMakeLists.txt:134 (set_target_properties): set_target_properties called with incorrect number of arguments. CMake Error at /usr/src/gtest/CMakeLists.txt:136 (set_target_properties): set_target_properties called with incorrect number of arguments. A workaround is to add this before including gtest in cmake set(GOOGLETEST_VERSION "1.8.1") # For some reason this is necessary in gtest 1.8.1-2 Steps to reproduce: Just try to "add_subdirectory( ${GTEST_PATH} gtest EXCLUDE_FROM_ALL)" |
This task depends upon
Closed by Levente Polyak (anthraxx)
Monday, 01 October 2018, 16:12 GMT
Reason for closing: Fixed
Additional comments about closing: 1.8.1-3
Monday, 01 October 2018, 16:12 GMT
Reason for closing: Fixed
Additional comments about closing: 1.8.1-3