Skip to content

Commit 5cfd8ae

Browse files
build: Reset CMAKE_REQUIRED_LIBRARIES after stacktrace availability check
1 parent a2e13ab commit 5cfd8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-support/custom-modules/ns3-compiler-workarounds.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if(STACKTRACE_LIBRARY_ENABLED)
9494
"
9595
STACKTRACE_LIBRARY_IS_LINKED
9696
)
97-
97+
set(CMAKE_REQUIRED_LIBRARIES)
9898
if(STACKTRACE_LIBRARY_IS_LINKED)
9999
add_definitions(-DSTACKTRACE_LIBRARY_IS_LINKED=1)
100100
else()

0 commit comments

Comments
 (0)