From c5a773afcea4ad985fbfa363c76bb743e677122d Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 30 Jul 2017 11:50:32 +1000 Subject: [PATCH] Remove leading . in CMAKE_EXECUTABLE_SUFFIX if it has one --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6abed33c..870cfef7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,7 @@ if (BUILD_RADIANT) endif () if (CMAKE_EXECUTABLE_SUFFIX) + string(REGEX REPLACE "^[.]" "" CMAKE_EXECUTABLE_SUFFIX ${CMAKE_EXECUTABLE_SUFFIX}) set(RADIANT_EXECUTABLE ${CMAKE_EXECUTABLE_SUFFIX}) else () execute_process( -- 2.39.2