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
dfa5e996
Commit
dfa5e996
authored
2 years ago
by
Omveer Singh
Browse files
Options
Downloads
Patches
Plain Diff
change interface include directories path
parent
39a6e845
Branches
cmake_test_dev
No related tags found
No related merge requests found
Pipeline
#19773
passed
2 years ago
Stage: checkRepository
Stage: checkFormat
Stage: build
Stage: finalise
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
external/InstallGtest.cmake
+1
-1
1 addition, 1 deletion
external/InstallGtest.cmake
with
1 addition
and
1 deletion
external/InstallGtest.cmake
+
1
−
1
View file @
dfa5e996
...
...
@@ -50,7 +50,7 @@ add_dependencies(Gtest GTEST)
add_library
(
GtestMain STATIC IMPORTED GLOBAL
)
set_target_properties
(
GtestMain PROPERTIES
IMPORTED_LOCATION
${
CMAKE_BINARY_DIR
}
/lib/
${
CMAKE_STATIC_LIBRARY_PREFIX
}
gtest_main
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_
BINARY_DIR
}
/include
)
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_
CURRENT_SOURCE_DIR
}
/external/googletest/googletest
/include
/gtest
)
add_dependencies
(
GtestMain GTEST
)
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