Fix WORKING_DIR parameter
authorSerhii Charykov <laammaar@gmail.com>
Mon, 03 Dec 2018 20:14:35 +0200
changeset 12737b7320ef610b5
parent 12736 d3421eeb57a0
child 12738 64dabb27041d
Fix WORKING_DIR parameter
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Sun May 19 11:52:25 2019 -0700
     1.2 +++ b/CMakeLists.txt	Mon Dec 03 20:14:35 2018 +0200
     1.3 @@ -1868,8 +1868,8 @@
     1.4      if(NOT ANDROID)
     1.5          install(CODE "
     1.6            execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
     1.7 -            \"lib${SONAME}${SOPOSTFIX}${SOEXT}\" \"libSDL2${SOPOSTFIX}${SOEXT}\")"
     1.8 -            WORKING_DIR "${SDL2_BINARY_DIR}")
     1.9 +            \"lib${SONAME}${SOPOSTFIX}${SOEXT}\" \"libSDL2${SOPOSTFIX}${SOEXT}\"
    1.10 +            WORKING_DIRECTORY \"${SDL2_BINARY_DIR}\")")
    1.11          install(FILES ${SDL2_BINARY_DIR}/libSDL2${SOPOSTFIX}${SOEXT} DESTINATION "lib${LIB_SUFFIX}")
    1.12      endif()
    1.13    endif()