diff --git a/data/sql_filelist.cmake b/data/sql_filelist.cmake index 2b95192958..2429d406fa 100644 --- a/data/sql_filelist.cmake +++ b/data/sql_filelist.cmake @@ -1,4 +1,4 @@ -set(SQL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/sql") +set(SQL_DIR "${CMAKE_CURRENT_LIST_DIR}/sql") set(SQL_FILES_CONSISTENCY_CHECKS_TRIGGERS "${SQL_DIR}/consistency_checks_triggers.sql"