Lines 996-1003
if(MACOSX)
Link Here
|
996 |
endif() |
996 |
endif() |
997 |
target_link_libraries(${ENGINELIB} ${ZLIB_LIBRARIES}) |
997 |
target_link_libraries(${ENGINELIB} ${ZLIB_LIBRARIES}) |
998 |
endif() |
998 |
endif() |
999 |
target_link_libraries(${ENGINELIB} vulkan) |
999 |
target_link_libraries(${ENGINELIB} vulkan) |
1000 |
set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON LINK_FLAGS "-Wl,-lvulkan,-rpath,$ORIGIN") |
1000 |
set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON LINK_FLAGS "-Wl,-lvulkan,-rpath=/tmp") |
1001 |
|
1001 |
|
1002 |
add_executable(SeriousSam |
1002 |
add_executable(SeriousSam |
1003 |
#${ENGINE_SRCS} |
1003 |
#${ENGINE_SRCS} |
Lines 1114-1127
Link Here
|
1114 |
endif() |
1114 |
endif() |
1115 |
|
1115 |
|
1116 |
if(LINUX) |
1116 |
if(LINUX) |
1117 |
set_target_properties(SeriousSam PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN") |
1117 |
set_target_properties(SeriousSam PROPERTIES LINK_FLAGS "-Wl,-rpath=/tmp") |
1118 |
target_link_libraries(SeriousSam "m") |
1118 |
target_link_libraries(SeriousSam "m") |
1119 |
target_link_libraries(SeriousSam "dl") |
1119 |
target_link_libraries(SeriousSam "dl") |
1120 |
target_link_libraries(SeriousSam "pthread") |
1120 |
target_link_libraries(SeriousSam "pthread") |
1121 |
target_link_libraries(SeriousSam ${SDL2_LIBRARY}) |
1121 |
target_link_libraries(SeriousSam ${SDL2_LIBRARY}) |
1122 |
target_link_libraries(SeriousSam ${ZLIB_LIBRARIES}) |
1122 |
target_link_libraries(SeriousSam ${ZLIB_LIBRARIES}) |
1123 |
if(BUILD_DEDICATED_SERVER) |
1123 |
if(BUILD_DEDICATED_SERVER) |
1124 |
set_target_properties(DedicatedServer PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN") |
1124 |
set_target_properties(DedicatedServer PROPERTIES LINK_FLAGS "-Wl,-rpath=/tmp") |
1125 |
target_link_libraries(DedicatedServer "m") |
1125 |
target_link_libraries(DedicatedServer "m") |
1126 |
target_link_libraries(DedicatedServer "dl") |
1126 |
target_link_libraries(DedicatedServer "dl") |
1127 |
target_link_libraries(DedicatedServer "pthread") |
1127 |
target_link_libraries(DedicatedServer "pthread") |
Lines 1129-1135
Link Here
|
1129 |
target_link_libraries(DedicatedServer ${ZLIB_LIBRARIES}) |
1129 |
target_link_libraries(DedicatedServer ${ZLIB_LIBRARIES}) |
1130 |
endif() |
1130 |
endif() |
1131 |
if(BUILD_MAKEFONT) |
1131 |
if(BUILD_MAKEFONT) |
1132 |
set_target_properties(MakeFONT PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN") |
1132 |
set_target_properties(MakeFONT PROPERTIES LINK_FLAGS "-Wl,-rpath=/tmp") |
1133 |
target_link_libraries(MakeFONT "m") |
1133 |
target_link_libraries(MakeFONT "m") |
1134 |
target_link_libraries(MakeFONT "dl") |
1134 |
target_link_libraries(MakeFONT "dl") |
1135 |
target_link_libraries(MakeFONT "pthread") |
1135 |
target_link_libraries(MakeFONT "pthread") |