Skip to content

Commit

Permalink
Call setup_stf_linker for debug and profile builds (#159)
Browse files Browse the repository at this point in the history
Fix for #158

Co-authored-by: Daniel Bone <[email protected]>
  • Loading branch information
danbone and Daniel Bone committed Mar 11, 2024
1 parent 6f2cbb7 commit 9d9a345
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ set (DISABLE_STF_DOXYGEN ON)

if (CMAKE_BUILD_TYPE MATCHES "^[Rr]elease")
set (FULL_LTO true)
include(${STF_LIB_BASE}/cmake/stf_linker_setup.cmake)
setup_stf_linker(false)
endif()
include(${STF_LIB_BASE}/cmake/stf_linker_setup.cmake)
setup_stf_linker(false)


# Use ccache if installed
find_program (CCACHE_PROGRAM ccache)
Expand Down

0 comments on commit 9d9a345

Please sign in to comment.