Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhdf89shfdfs <31327577+hdf89shfdfs@users.noreply.github.com>2020-12-03 01:12:38 +0300
committerGitHub <noreply@github.com>2020-12-03 01:12:38 +0300
commitec6cd75d57f68b6566e1d406de20e59636a881e7 (patch)
treeee8007a895b149466540b778b69ed0a84faf0cc2
parent0140ab1d73d833d2b1eca37d1b3b91e52dda4176 (diff)
Remove unneccesssary compile definitions (#957)
-rw-r--r--CMakeLists.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 86d09ca..f44425c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,16 +37,6 @@ else()
gsl_client_set_cxx_standard(${gsl_min_cxx_standard})
endif()
-# add definitions to the library and targets that consume it
-target_compile_definitions(GSL INTERFACE
- $<$<CXX_COMPILER_ID:MSVC>:
- # remove unnecessary warnings about unchecked iterators
- _SCL_SECURE_NO_WARNINGS
- # remove deprecation warnings about std::uncaught_exception() (from catch)
- _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING
- >
-)
-
# add include folders to the library and targets that consume it
# the SYSTEM keyword suppresses warnings for users of the library
if(GSL_STANDALONE_PROJECT)