mirror of
https://github.com/InoriRus/Kyty.git
synced 2026-08-28 05:06:40 +00:00
Fix compilation issues (#2)
This commit is contained in:
@@ -75,6 +75,10 @@ if (CLANG AND (KYTY_LINKER STREQUAL LLD))
|
||||
set(KYTY_LD_OPTIONS "-fuse-ld=lld")
|
||||
endif()
|
||||
|
||||
if (KYTY_LINKER STREQUAL LD)
|
||||
set(KYTY_LD_OPTIONS "-Wl,--image-base=0x100000000000")
|
||||
endif()
|
||||
|
||||
project(Kyty${KYTY_PROJECT_NAME}${CMAKE_BUILD_TYPE}${KYTY_COMPILER} VERSION 0.0.2)
|
||||
|
||||
include(src_script.cmake)
|
||||
@@ -136,8 +140,6 @@ target_link_libraries(fc_script math)
|
||||
target_link_libraries(fc_script scripts)
|
||||
target_link_libraries(fc_script lua)
|
||||
target_link_libraries(fc_script opengl32)
|
||||
target_link_libraries(fc_script ws2_32)
|
||||
target_link_libraries(fc_script psapi)
|
||||
target_link_libraries(fc_script iphlpapi)
|
||||
target_link_libraries(fc_script sdl2)
|
||||
target_link_libraries(fc_script setupapi)
|
||||
@@ -147,6 +149,8 @@ target_link_libraries(fc_script lzma)
|
||||
target_link_libraries(fc_script sqlite)
|
||||
target_link_libraries(fc_script zstd)
|
||||
target_link_libraries(fc_script easy_profiler)
|
||||
target_link_libraries(fc_script ws2_32)
|
||||
target_link_libraries(fc_script psapi)
|
||||
if (CLANG AND NOT MSVC)
|
||||
target_link_libraries(fc_script pthread)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user