diff --git a/codegen/ert_unix.tmf b/codegen/ert_unix.tmf
index b6e96c84f55b77bea54ac4a46f0484d2d9f404fc..810c4043ad9809ef90e2e2610e69040129f79b2a 100644
--- a/codegen/ert_unix.tmf
+++ b/codegen/ert_unix.tmf
@@ -35,7 +35,7 @@ USER_OPTS = -DMKL
 #USER_OPTS += -fPIC -Wno-extra-tokens -O3 -xCORE-AVX512 -no-prec-div -fp-model fast=2
 #USER_OPTS += -fPIC -Wno-extra-tokens -O3 -no-prec-div -fp-model fast=2
 USER_OPTS += -fPIC -g
-USER_OPTS += -I$(RTCCODE_PATH)/core/codegen/
+USER_OPTS += -I$(SCDDS_PATH)/codegen/
 
 
 #------------------------ Macros read by make_rtw ------------------------------