Skip to content
Permalink
Browse files

fix a preload issue

  • Loading branch information...
TotallyNotElite committed Aug 25, 2019
1 parent bb84e1d commit 4cfae0562cc10aeb00ec1f54b3d0b1aaf328cd1d
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
  2. BIN lib/libtier0.so
@@ -113,7 +113,7 @@ execute_process(COMMAND
OUTPUT_VARIABLE GIT_COMMITTER_DATE
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)

find_library(ValveLibraryTier0 NAMES tier0 PATHS "${PROJECT_SOURCE_DIR}/lib" NO_DEFAULT_PATH)
set( CMAKE_SKIP_RPATH true )
find_library(ValveLibraryVStdLib NAMES vstdlib PATHS "${PROJECT_SOURCE_DIR}/lib" NO_DEFAULT_PATH)

if(EnableIPC)
@@ -188,7 +188,7 @@ add_custom_target(data
VERBATIM)

# SDL included because of https://github.com/nullworks/cathook/issues/689
target_link_libraries(cathook ${ValveLibraryTier0} ${ValveLibraryVStdLib} ${SDL2_LIBRARY})
target_link_libraries(cathook ${ValveLibraryVStdLib} ${SDL2_LIBRARY})
set_target_properties(cathook PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

add_subdirectory(src)
BIN -194 KB lib/libtier0.so
Binary file not shown.

0 comments on commit 4cfae05

Please sign in to comment.
You can’t perform that action at this time.