diff --git a/CMakeLists.txt.angelscript.in b/CMakeLists.txt.angelscript.in index ee978d6..412cd4b 100644 --- a/CMakeLists.txt.angelscript.in +++ b/CMakeLists.txt.angelscript.in @@ -31,6 +31,7 @@ function(include_angelscript) SET(BUILD_SHARED_LIBS ${SHARED}) SET(LINK_STD_STATICALLY ${STATICC}) + SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON) add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/Angelscript/src/AngelscriptProj/angelscript/projects/cmake ${CMAKE_CURRENT_BINARY_DIR}/Angelscript/bin EXCLUDE_FROM_ALL)