From f81c70ca87cfaf741ab8b03c504c0a5e08467886 Mon Sep 17 00:00:00 2001 From: Martin Beseda <martin.beseda@vsb.cz> Date: Tue, 22 Jan 2019 22:12:59 +0100 Subject: [PATCH] FIX: Trying to fix CI... --- FindTurtle.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FindTurtle.cmake b/FindTurtle.cmake index 8a8181ad..08896aff 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: -- GitLab