mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-26 23:00:30 +00:00
fix linux and modern vs builds
This commit is contained in:
parent
4d13951a9f
commit
2bd556a3b2
@ -24,3 +24,9 @@ endif()
|
||||
file(GLOB SRC_FILES *.cpp)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SRC_FILES})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(${PROJECT_NAME} ${CMAKE_SOURCE_DIR}/lib/libz.a)
|
||||
elseif(WIN32)
|
||||
target_link_libraries(${PROJECT_NAME} ${CMAKE_SOURCE_DIR}/lib/safesehzlib.lib)
|
||||
endif ()
|
||||
|
BIN
lib/libz.a
Normal file
BIN
lib/libz.a
Normal file
Binary file not shown.
BIN
lib/safesehzlib.lib
Normal file
BIN
lib/safesehzlib.lib
Normal file
Binary file not shown.
@ -3,6 +3,8 @@
|
||||
#include "pkr.h"
|
||||
#include "SpideyDX.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#ifdef _WIN32
|
||||
EXPORT TCHAR gCurrentDir[260];
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user