Skip to content

Commit

Permalink
Fix linker issue by linking engine-sim last
Browse files Browse the repository at this point in the history
This is an odd fix, but it works and means that symbols in engine-sim
don't disappear.
  • Loading branch information
bobsayshilol committed Sep 30, 2022
1 parent af104db commit c83064c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ add_executable(engine-sim-app WIN32
include/info_cluster.h
)

target_link_libraries(engine-sim-app
engine-sim
)

if (DTV)
target_link_libraries(engine-sim-app
direct-to-video)
Expand All @@ -288,6 +284,10 @@ if (DISCORD_ENABLED)
)
endif (DISCORD_ENABLED)

target_link_libraries(engine-sim-app
engine-sim
)

# GTEST

enable_testing()
Expand Down

0 comments on commit c83064c

Please sign in to comment.