diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e9df74375dcef20916ccdf997378bd00b6089f7..58043565c7c2ed8b5ce4640f5384e9bed2e6726b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,8 @@ include (conan) # self-provided in 'cmake' directory
 # download and build all dependencies
 conan_cmake_run (CONANFILE conanfile.txt
                  BASIC_SETUP CMAKE_TARGETS
-                 BUILD missing)
+                 BUILD missing
+                 BUILD_TYPE "Release")
 #
 # add cnpy temporarily. As long as SaveBoostHistogram does not save to parquet directly
 #