Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
e8ddd907
Commit
e8ddd907
authored
May 08, 2018
by
Roman Lebedev
Committed by
Dominic Hamon
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There is no "FATAL" in message(), only "FATAL_ERROR" (#584)
parent
16af6450
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
HandleGTest.cmake
cmake/HandleGTest.cmake
+2
-2
No files found.
CMakeLists.txt
View file @
e8ddd907
...
...
@@ -216,7 +216,7 @@ if (BENCHMARK_USE_LIBCXX)
# linker flags appear before all linker inputs and -lc++ must appear after.
list
(
APPEND BENCHMARK_CXX_LIBRARIES c++
)
else
()
message
(
FATAL
"-DBENCHMARK_USE_LIBCXX:BOOL=ON is not supported for compiler"
)
message
(
FATAL
_ERROR
"-DBENCHMARK_USE_LIBCXX:BOOL=ON is not supported for compiler"
)
endif
()
endif
(
BENCHMARK_USE_LIBCXX
)
...
...
cmake/HandleGTest.cmake
View file @
e8ddd907
...
...
@@ -94,7 +94,7 @@ if (BENCHMARK_ENABLE_GTEST_TESTS)
HINTS
${
HPATH
}
)
if
(
NOT HEADER_PATH_
${
HEADER
}
)
message
(
FATAL
"Failed to find header
${
HFILE
}
in
${
HPATH
}
"
)
message
(
FATAL
_ERROR
"Failed to find header
${
HFILE
}
in
${
HPATH
}
"
)
endif
()
list
(
APPEND GTEST_INCLUDE_DIRS
${
HEADER_PATH_
${
HEADER
}}
)
endforeach
()
...
...
@@ -105,7 +105,7 @@ if (BENCHMARK_ENABLE_GTEST_TESTS)
find_path
(
GMOCK_INCLUDE_DIRS gmock/gmock.h
HINTS
${
GTEST_INCLUDE_DIRS
}
)
if
(
NOT GMOCK_INCLUDE_DIRS
)
message
(
FATAL
"Failed to find header gmock/gmock.h with hint
${
GTEST_INCLUDE_DIRS
}
"
)
message
(
FATAL
_ERROR
"Failed to find header gmock/gmock.h with hint
${
GTEST_INCLUDE_DIRS
}
"
)
endif
()
set
(
GTEST_INCLUDE_DIRS
${
GTEST_INCLUDE_DIRS
}
${
GMOCK_INCLUDE_DIRS
}
)
# FIXME: We don't currently require the gmock library to build the tests,
...
...
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