Allow angelscript to change rpath during build
This commit is contained in:
parent
b4d492f2af
commit
b438e36a63
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue