mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +03:00
CMakeLists.txt: force run path for libsteam_api.so
This commit is contained in:
parent
7ea6686659
commit
77f004fdfc
@ -109,8 +109,6 @@ include_directories(
|
|||||||
${PROJECT_PUBLIC_DIR}
|
${PROJECT_PUBLIC_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
link_directories(${PROJECT_SOURCE_DIR}/lib/linux32)
|
|
||||||
|
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DSWDS
|
-DSWDS
|
||||||
-DREHLDS_JIT
|
-DREHLDS_JIT
|
||||||
@ -133,6 +131,8 @@ add_definitions(
|
|||||||
-D_vsnwprintf=vswprintf
|
-D_vsnwprintf=vswprintf
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath,'$ORIGIN/.' -L${PROJECT_SOURCE_DIR}/lib/linux32")
|
||||||
|
|
||||||
if (NOT TARGET bzip2)
|
if (NOT TARGET bzip2)
|
||||||
add_subdirectory(../dep/bzip2 lib)
|
add_subdirectory(../dep/bzip2 lib)
|
||||||
endif()
|
endif()
|
||||||
|
@ -106,8 +106,6 @@ include_directories(
|
|||||||
${PROJECT_PUBLIC_DIR}
|
${PROJECT_PUBLIC_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
link_directories(${PROJECT_SOURCE_DIR}/../../lib/linux32)
|
|
||||||
|
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DHLTV
|
-DHLTV
|
||||||
-DHLTV_FIXES
|
-DHLTV_FIXES
|
||||||
@ -121,6 +119,8 @@ add_definitions(
|
|||||||
-D_snprintf=snprintf
|
-D_snprintf=snprintf
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath,'$ORIGIN/.' -L${PROJECT_SOURCE_DIR}/../../lib/linux32")
|
||||||
|
|
||||||
if (NOT TARGET bzip2)
|
if (NOT TARGET bzip2)
|
||||||
add_subdirectory(../../../dep/bzip2 lib)
|
add_subdirectory(../../../dep/bzip2 lib)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user