Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
9037e9bd
Commit
9037e9bd
authored
Apr 26, 2019
by
Sylvestre Gallon
Browse files
Fix compilation on CentOS 7
parent
84d98653
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/CMakeLists.txt
googletest/CMakeLists.txt
+1
-1
No files found.
googletest/CMakeLists.txt
View file @
9037e9bd
...
@@ -97,7 +97,7 @@ if (INSTALL_GTEST)
...
@@ -97,7 +97,7 @@ if (INSTALL_GTEST)
set
(
generated_dir
"
${
CMAKE_CURRENT_BINARY_DIR
}
/generated"
CACHE INTERNAL
""
)
set
(
generated_dir
"
${
CMAKE_CURRENT_BINARY_DIR
}
/generated"
CACHE INTERNAL
""
)
set
(
cmake_files_install_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
cmake_package_name
}
"
)
set
(
cmake_files_install_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
cmake_package_name
}
"
)
set
(
version_file
"
${
generated_dir
}
/
${
cmake_package_name
}
ConfigVersion.cmake"
)
set
(
version_file
"
${
generated_dir
}
/
${
cmake_package_name
}
ConfigVersion.cmake"
)
write_basic_package_version_file
(
${
version_file
}
COMPATIBILITY AnyNewerVersion
)
write_basic_package_version_file
(
${
version_file
}
VERSION
${
GOOGLETEST_VERSION
}
COMPATIBILITY AnyNewerVersion
)
install
(
EXPORT
${
targets_export_name
}
install
(
EXPORT
${
targets_export_name
}
NAMESPACE
${
cmake_package_name
}
::
NAMESPACE
${
cmake_package_name
}
::
DESTINATION
${
cmake_files_install_dir
}
)
DESTINATION
${
cmake_files_install_dir
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment