2
0
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:
s1lentq 2021-03-23 03:13:18 +07:00
parent 7ea6686659
commit 77f004fdfc
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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()