diff --git a/FindTurtle.cmake b/FindTurtle.cmake
index 8a8181ad61acc87ac1fb4517709fd2a88bd787c4..08896aff3cd2536ed6cc02c0fe457049defba00f 100644
--- a/FindTurtle.cmake
+++ b/FindTurtle.cmake
@@ -39,7 +39,7 @@ ENDIF(TURTLE_FOUND)
 
 # Add path only to the 'include' folder
 set(TMP "")
-string(REPLACE "/include/turtle" "/include" TMP ${TURTLE_INCLUDE_DIR})
+string(REGEX REPLACE "/turtle$" "" TMP ${TURTLE_INCLUDE_DIR})
 list(APPEND TURTLE_INCLUDE_DIR ${TMP})
 
 # Advanced options for not cluttering the cmake UIs: