Skip to content

error while loading shared libraries: libgtest_main.so.1.16.0 #14

@EddyTheCo

Description

@EddyTheCo

The tests builds the gtest library but does not install it.
If the compiler decides to create a shared gtest library this should be install it also.
we can do

set(BUILD_SHARED_LIBS OFF)
FetchContent_MakeAvailable(googletest)

forcing the compiler to build a static library.
or install the gtest library by removing set(INSTALL_GTEST OFF)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions