Commit 22f55865 authored by GILLES Sebastien's avatar GILLES Sebastien

#1362 Fix a bug in the new custom command.

parent 0a3be07c
Pipeline #48782 failed with stages
in 2 minutes and 13 seconds
......@@ -168,7 +168,7 @@ function(apply_lto_if_supported _target)
check_ipo_supported(RESULT result)
if(result)
message(STATUS "Applying LTO to " ${_target})
set_property(TARGET MoReFEMTestOperatorMass2D PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
set_property(TARGET ${_target} PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
endif()
endfunction()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment