From 156c134301a86f57c48be952213b5733952af7a9 Mon Sep 17 00:00:00 2001 From: Lukas W Date: Sat, 16 Jun 2018 13:15:24 +0200 Subject: [PATCH] winegcc_wrapper: Remove misleading usage hint winegcc_wrapper.in is only intended to be used within FindWine.cmake. Also moved it to the same directory for this reason. --- cmake/modules/FindWine.cmake | 2 +- cmake/{linux => modules}/winegcc_wrapper.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename cmake/{linux => modules}/winegcc_wrapper.in (97%) diff --git a/cmake/modules/FindWine.cmake b/cmake/modules/FindWine.cmake index 65c628136..a697a9dbc 100644 --- a/cmake/modules/FindWine.cmake +++ b/cmake/modules/FindWine.cmake @@ -58,5 +58,5 @@ IF(WINE_32_LIBRARY_DIR) ENDIF() # Create winegcc wrapper -configure_file(${CMAKE_CURRENT_LIST_DIR}/../linux/winegcc_wrapper.in winegcc_wrapper @ONLY) +configure_file(${CMAKE_CURRENT_LIST_DIR}/winegcc_wrapper.in winegcc_wrapper @ONLY) SET(WINEGCC "${CMAKE_CURRENT_BINARY_DIR}/winegcc_wrapper") diff --git a/cmake/linux/winegcc_wrapper.in b/cmake/modules/winegcc_wrapper.in similarity index 97% rename from cmake/linux/winegcc_wrapper.in rename to cmake/modules/winegcc_wrapper.in index 5894c593d..fee88c496 100755 --- a/cmake/linux/winegcc_wrapper.in +++ b/cmake/modules/winegcc_wrapper.in @@ -1,7 +1,7 @@ #!/bin/sh # Wrapper script for winegcc to remove .exe file ending automatically # appended by winebuild. -# Usage: winegcc +# See FindWine.cmake for usage set -e