Skip to content
Snippets Groups Projects
Commit 9bee6cd6 authored by Tim Schoof's avatar Tim Schoof
Browse files

Fix interoperability with pninexus.h5cpp

Without this fix, importing pninexus.h5cpp after asapo_worker crashed
the interpreter with a std::bad_cast exception, cf.
https://stackoverflow.com/questions/3765669
parent 3358e042
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ if ((CMAKE_BUILD_TYPE STREQUAL "Debug") AND (CMAKE_C_COMPILER_ID STREQUAL "GNU")
set (EXTRA_LINK_ARGS "['--coverage','-fprofile-arcs','-ftest-coverage','-static-libgcc','-static-libstdc++']")
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "GNU")
set (EXTRA_COMPILE_ARGS "['--std=c++11']")
set (EXTRA_LINK_ARGS "['-static-libgcc','-static-libstdc++']")
set (EXTRA_LINK_ARGS "['-static-libgcc','-static-libstdc++','-Wl,--exclude-libs,ALL']")
else()
set (EXTRA_COMPILE_ARGS "['-std=c++11']")
set (EXTRA_LINK_ARGS "[]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment