Skip to content

Commit 9d9a345

Browse files
danboneDaniel Bone
andauthored
Call setup_stf_linker for debug and profile builds (#159)
Fix for #158 Co-authored-by: Daniel Bone <[email protected]>
1 parent 6f2cbb7 commit 9d9a345

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ set (DISABLE_STF_DOXYGEN ON)
3838

3939
if (CMAKE_BUILD_TYPE MATCHES "^[Rr]elease")
4040
set (FULL_LTO true)
41-
include(${STF_LIB_BASE}/cmake/stf_linker_setup.cmake)
42-
setup_stf_linker(false)
4341
endif()
42+
include(${STF_LIB_BASE}/cmake/stf_linker_setup.cmake)
43+
setup_stf_linker(false)
44+
4445

4546
# Use ccache if installed
4647
find_program (CCACHE_PROGRAM ccache)

0 commit comments

Comments
 (0)