Fix wrongly used compile definitions

-rdynamic is an linker flag and not an compile flag.
This commit removes many warnings when compiling with Clang.
presentation
Fabian Keßler 7 years ago committed by GitHub
parent 2ed3d8b061
commit 7a25ac83ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/CMakeLists.txt

@ -22,7 +22,7 @@ if (WIN32)
elseif (APPLE)
# Nothing to do for APPLE
else ()
add_definitions (-rdynamic)
add_link_options(-rdynamic)
endif ()
option (DEBUG_COMPILE "Pass -Wall to CXX_FLAGS" OFF)

Loading…
Cancel
Save