From 88691efcb83a24b459b5f025b43b476c1365e40b Mon Sep 17 00:00:00 2001 From: MFraters Date: Fri, 29 Mar 2024 22:30:07 -0400 Subject: [PATCH] Add intel lstd++ linker flag. --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 852737bfa..ee9967208 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,8 +387,9 @@ if (NOT MSVC AND NOT APPLE) endif() elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel") - SET(WB_COMPILER_OPTIONS_PRIVATE $<$:-std=c++14 -pthread -pedantic -fPIC -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsign-compare - -Woverloaded-virtual -Wno-parentheses -Wcast-qual -fstrict-aliasing -Wmaybe-uninitialized -Werror=maybe-uninitialized>) + SET(WB_COMPILER_OPTIONS_PRIVATE $<$:-std=c++14 -pthread -pedantic -fPIC -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsign-compare + -Woverloaded-virtual -Wno-parentheses -Wcast-qual -fstrict-aliasing -Wmaybe-uninitialized -Werror=maybe-uninitialized>) + SET(WB_LINKER_OPTIONS -lstdc++) else() # gcc linux