Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
cc23e755
Commit
cc23e755
authored
Jan 29, 2018
by
Roman Gershman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ABSL_EXCEPTIONS_FLAG define
parent
1c8ace4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
+3
-3
No files found.
CMakeLists.txt
View file @
cc23e755
...
@@ -58,6 +58,9 @@ list(APPEND ABSL_COMMON_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR})
...
@@ -58,6 +58,9 @@ list(APPEND ABSL_COMMON_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR})
set
(
CMAKE_CXX_FLAGS
"
${
ABSL_STD_CXX_FLAG
}
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
ABSL_STD_CXX_FLAG
}
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_WARNING_VLA
}
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_WARNING_VLA
}
${
CMAKE_CXX_FLAGS
}
"
)
# -fexceptions
set
(
ABSL_EXCEPTIONS_FLAG
"
${
CMAKE_CXX_EXCEPTIONS
}
"
)
# find dependencies
# find dependencies
## pthread
## pthread
find_package
(
Threads REQUIRED
)
find_package
(
Threads REQUIRED
)
...
@@ -77,9 +80,6 @@ if(BUILD_TESTING)
...
@@ -77,9 +80,6 @@ if(BUILD_TESTING)
check_target
(
gtest_main
)
check_target
(
gtest_main
)
check_target
(
gmock
)
check_target
(
gmock
)
# -fexceptions
set
(
ABSL_EXCEPTIONS_FLAG
"
${
CMAKE_CXX_EXCEPTIONS
}
"
)
list
(
APPEND ABSL_TEST_COMMON_LIBRARIES
list
(
APPEND ABSL_TEST_COMMON_LIBRARIES
gtest_main
gtest_main
gtest
gtest
...
...
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