tx00100xt / SeriousSamClassic-VK

Open source game engine version developed by Croteam for Serious Sam Classic with Vulkan support (Windows, Linux, FreeBSD, OpenBSD, macOS, Raspberry Pi OS). Based on https://github.com/sultim-t/Serious-Engine-Vk and linux port https://github.com/icculus/Serious-Engine
GNU General Public License v2.0
104 stars 12 forks source link

vulkan is missing #1

Closed axet closed 2 years ago

axet commented 2 years ago
diff --git a/SamTFE/Sources/CMakeLists.txt b/SamTFE/Sources/CMakeLists.txt
index 6f05604..26d8c5d 100644
--- a/SamTFE/Sources/CMakeLists.txt
+++ b/SamTFE/Sources/CMakeLists.txt
@@ -996,6 +996,7 @@ if(MACOSX)
     endif()
 target_link_libraries(${ENGINELIB} ${ZLIB_LIBRARIES})
 endif()
+target_link_libraries(${ENGINELIB} vulkan)
 set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON)

 add_executable(SeriousSam
diff --git a/SamTSE/Sources/CMakeLists.txt b/SamTSE/Sources/CMakeLists.txt
index 079b6b1..955dda8 100644
--- a/SamTSE/Sources/CMakeLists.txt
+++ b/SamTSE/Sources/CMakeLists.txt
@@ -996,6 +996,7 @@ if(MACOSX)
     endif()
 target_link_libraries(${ENGINELIB} ${ZLIB_LIBRARIES})
 endif()
+target_link_libraries(${ENGINELIB} vulkan)
 set_target_properties(${ENGINELIB} PROPERTIES ENABLE_EXPORTS ON LINK_FLAGS "-Wl,-lvulkan,-rpath,$ORIGIN")

 add_executable(SeriousSam
tx00100xt commented 2 years ago

Fixed https://github.com/tx00100xt/SeriousSamClassic-VK/commit/c1f741b964b9147d9171564925143044d91373c1 I think the issue can be closed