Allow angelscript to change rpath during build
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is failing Details

This commit is contained in:
Deukhoofd 2022-02-05 16:26:53 +01:00
parent b4d492f2af
commit b438e36a63
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ if (SCRIPT_PROVIDER STREQUAL "angelscript")
if (Angelscript_ADDED)
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" . -B ${Angelscript_BINARY_DIR}
-DBUILD_SHARED_LIBS=${SHARED} -DMSVC=${WINDOWS} -DLINK_STD_STATICALLY=${STATICC}
-DBUILD_SHARED_LIBS=${SHARED} -DMSVC=${WINDOWS} -DLINK_STD_STATICALLY=${STATICC} -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
RESULT_VARIABLE result
WORKING_DIRECTORY ${Angelscript_SOURCE_DIR}/angelscript/projects/cmake)
execute_process(COMMAND ${CMAKE_COMMAND} --build ${Angelscript_BINARY_DIR}