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