Skip to content

Commit

Permalink
linker flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbancila authored Sep 5, 2020
1 parent 119265c commit 08e3e68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ else()
if(CRONCPP_ENABLE_PROFILING)
target_compile_options(
croncpp_options
INTERFACE --coverage -lgcov -g -O0 -fprofile-arcs -ftest-coverage)
INTERFACE --coverage -g -O0 -fprofile-arcs -ftest-coverage)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage -lgcov" CACHE STRING "Linker Flags for Profiling" FORCE)
endif()
endif()

Expand Down

0 comments on commit 08e3e68

Please sign in to comment.