Skip to content

Fix CMake build with current GTest, generate pkgconfig file #541

Open
StefanBruens wants to merge 2 commits intoSRombauts:masterfrom
StefanBruens:cmake_fixes
Open

Fix CMake build with current GTest, generate pkgconfig file #541
StefanBruens wants to merge 2 commits intoSRombauts:masterfrom
StefanBruens:cmake_fixes

Conversation

@StefanBruens
Copy link
Copy Markdown

No description provided.

Current GTest versions required C++14 or C++17, so set the appropriate
version in the compile_features.

Also change the library from using CMAKE_CXX_STANDARD to the equivalent
target_compile_features. This avoids downgrading the used standard
version and is properly exported to CMake Target.

Fixes SRombauts#539.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant