diff --git a/CMakeLists.txt b/CMakeLists.txt index 56a7f3d4..c7790469 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -302,6 +302,14 @@ if(UNIX AND NOT APPLE AND NOT EMSCRIPTEN) # stdc++fs target_link_libraries(${OutputExecutable} stdc++fs) link_directories("${CMAKE_SOURCE_DIR}/Adventures in Lestoria") + add_library( discord_game_sdk SHARED IMPORTED ) + set_property(TARGET discord_game_sdk PROPERTY IMPORTED_LOCATION "Adventures in Lestoria/discord_game_sdk.so") + add_library( libsteam_api SHARED IMPORTED ) + set_property(TARGET libsteam_api PROPERTY IMPORTED_LOCATION "Adventures in Lestoria/libsteam_api.so") + + target_link_libraries(${OutputExecutable} discord_game_sdk) + target_link_libraries(${OutputExecutable} libsteam_api) + target_link_options( ${OutputExecutable} PRIVATE