diff --git a/cmake_targets/oaisim_noS1_build_oai/CMakeLists.template b/cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
index 62d2b55443cec9c3abd6fb371a6f1e5d3f4c171a..5f6252b34f4f6de5a35547189964041dc117af6b 100644
--- a/cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
+++ b/cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
@@ -29,7 +29,7 @@ set (  LINK_ENB_PDCP_TO_GTPV1U False)
 set (  LINUX_LIST False )
 set (  LINUX True )
 set (  LOCALIZATION False )
-set (  LOG_NO_THREAD False )
+set (  LOG_NO_THREAD 1 )
 set (  LOWLATENCY False )
 set (  MAC_CONTEXT 1 )
 set (  MAX_NUM_CCs 1 )