Skip to content

Commit

Permalink
Fix wrongly used compile definitions
Browse files Browse the repository at this point in the history
-rdynamic is an linker flag and not an compile flag.
This commit removes many warnings when compiling with Clang.
  • Loading branch information
Febbe committed Sep 28, 2019
1 parent 2ed3d8b commit 7a25ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 7a25ac8

Please sign in to comment.