summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index a78e0ed0..a3034b44 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -170,6 +170,7 @@ function(otr_module n_)
add_library(${n} ${link-mode} "${${n}-all}")
set_property(TARGET "${n}" PROPERTY PREFIX "")
endif()
+ set_property(TARGET "${n}" PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
if(NOT arg_NO-QT)
otr_qt2("${n}")