mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 23:25:45 +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}
|
||||
)
|
||||
|
||||
link_directories(${PROJECT_SOURCE_DIR}/lib/linux32)
|
||||
|
||||
add_definitions(
|
||||
-DSWDS
|
||||
-DREHLDS_JIT
|
||||
@ -133,6 +131,8 @@ add_definitions(
|
||||
-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)
|
||||
add_subdirectory(../dep/bzip2 lib)
|
||||
endif()
|
||||
|
@ -106,8 +106,6 @@ include_directories(
|
||||
${PROJECT_PUBLIC_DIR}
|
||||
)
|
||||
|
||||
link_directories(${PROJECT_SOURCE_DIR}/../../lib/linux32)
|
||||
|
||||
add_definitions(
|
||||
-DHLTV
|
||||
-DHLTV_FIXES
|
||||
@ -121,6 +119,8 @@ add_definitions(
|
||||
-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)
|
||||
add_subdirectory(../../../dep/bzip2 lib)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user