Update CMakeLists to use imported libs for Discord and Steam APIs
This commit is contained in:
parent
f91ddf542d
commit
1a48066922
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user