CMake Shared Library creation error No Version specified #4741
Unanswered
voraciousCrustacean
asked this question in
Community Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am attempting to create some unit tests for some of my legacy Linux applications and needing to use GoogleTest 1.8.1 with CMAKE 2.8.13. I am needing to create some shared library .so objects so that I can like them into my project. However, when I execute the command,
CMake -DBUILD_SHARED_LIBRARY=ON
I get the following ErrorsCAMKE ERROR AT ../../WriteBasicConfigVersionFile.cmake:39 (message): No Version Specified for write_basicConfig_version_file Call Stack (most recent call first .../../CMakePackageConfigHelpers.cmake:152 (write_basic_config_version_File)) googletest/CMakeList.txt:96 (write_basic_package_version_file).
I had previously generated the .so files with version 1.10 using cmake with no issues. However, since I'm needing something more compatible with c++98 I'm attempting to use version 1.8.1.
If anyone can help me determine why I'm getting this error and how I can generate the .so for V1.8.1 I'd be greatly appreciative!
Beta Was this translation helpful? Give feedback.
All reactions