Skip to content

Commit

Permalink
Merge pull request #18 from robotology/fix_ldflags
Browse files Browse the repository at this point in the history
Do not overwrite default linker flags so that LDFLAGS environment variable is considered
  • Loading branch information
Nicogene authored Aug 5, 2021
2 parents 74accf2 + f192f80 commit 075d963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set(Common_LIBRARIES)
else ()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
set(CMAKE_EXE_LINKER_FLAGS "-rdynamic")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
set(Common_LIBRARIES dl pthread stdc++fs)
endif ()

Expand Down

0 comments on commit 075d963

Please sign in to comment.