diff --git a/FSL/CMakeLists.txt b/FSL/CMakeLists.txt
index a3b44f958b19a54c594defdb5884cb1a540e8fca..c67a21fe623a1773d610bc1b1bed01ec093d5b22 100644
--- a/FSL/CMakeLists.txt
+++ b/FSL/CMakeLists.txt
@@ -30,7 +30,7 @@ target_link_libraries(fsl PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)
 
 
 if( GEOMODEL_USE_BUILTIN_JSON )
-   add_dependencies( GXClashPointSystems JSONExt )
+   add_dependencies( fsl JSONExt )
 else()
    target_link_libraries(fsl PRIVATE nlohmann_json::nlohmann_json)
 endif()