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

Fix interoperability with pninexus.h5cpp

Without this fix, importing pninexus.h5cpp after asapo_producer crashed
the interpreter with a std::bad_cast exception,
cf. https://stackoverflow.com/questions/3765669
and commit 9bee6cd6
parent e3955821
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.
Finish editing this message first!
Please register or to comment