Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Om
cbmroot
Commits
e45dc57f
Commit
e45dc57f
authored
2 years ago
by
Omveer_Singh
Browse files
Options
Downloads
Patches
Plain Diff
Fix
parent
b25bf6a9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
external/InstallGtest.cmake
+2
-2
2 additions, 2 deletions
external/InstallGtest.cmake
with
2 additions
and
2 deletions
external/InstallGtest.cmake
+
2
−
2
View file @
e45dc57f
...
@@ -43,14 +43,14 @@ add_dependencies(Gtest GTEST)]]
...
@@ -43,14 +43,14 @@ add_dependencies(Gtest GTEST)]]
add_library
(
Gtest STATIC IMPORTED GLOBAL
)
add_library
(
Gtest STATIC IMPORTED GLOBAL
)
set_target_properties
(
Gtest PROPERTIES
set_target_properties
(
Gtest PROPERTIES
IMPORTED_LOCATION
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
IMPORTED_LOCATION
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_
CURRENT_SOURCE_DIR
}
/external/googletest/googletest
/include
/gtest
)
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_
BINARY_DIR
}
/include
)
add_dependencies
(
Gtest GTEST
)
add_dependencies
(
Gtest GTEST
)
add_library
(
GtestMain STATIC IMPORTED GLOBAL
)
add_library
(
GtestMain STATIC IMPORTED GLOBAL
)
set_target_properties
(
GtestMain PROPERTIES
set_target_properties
(
GtestMain PROPERTIES
IMPORTED_LOCATION
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest_main
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
IMPORTED_LOCATION
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest_main
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_
CURRENT_SOURCE_DIR
}
/external/googletest/googletest
/include
/gtest
)
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_
BINARY_DIR
}
/include
)
add_dependencies
(
GtestMain GTEST
)
add_dependencies
(
GtestMain GTEST
)
message
(
STATUS
"-----------------
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
"
)
message
(
STATUS
"-----------------
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment