From 510b01f5fc79c29f3ba3a6dac9fcb4aa2b55f81e Mon Sep 17 00:00:00 2001 From: Serhii Charykov Date: Mon, 3 Dec 2018 20:14:35 +0200 Subject: [PATCH] Fix WORKING_DIR parameter --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 719d5f5a3..7c1325885 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1868,8 +1868,8 @@ if(NOT (WINDOWS OR CYGWIN)) if(NOT ANDROID) install(CODE " execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink - \"lib${SONAME}${SOPOSTFIX}${SOEXT}\" \"libSDL2${SOPOSTFIX}${SOEXT}\")" - WORKING_DIR "${SDL2_BINARY_DIR}") + \"lib${SONAME}${SOPOSTFIX}${SOEXT}\" \"libSDL2${SOPOSTFIX}${SOEXT}\" + WORKING_DIRECTORY \"${SDL2_BINARY_DIR}\")") install(FILES ${SDL2_BINARY_DIR}/libSDL2${SOPOSTFIX}${SOEXT} DESTINATION "lib${LIB_SUFFIX}") endif() endif()