Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/server
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-25 20:01:32 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-25 20:01:32 +1000
commit13a74602bd4c46149da9949d448387a40b8ebd1c (patch)
tree74c5d7c4f3732155e65e8df454017c5b7d2ca35d /source/server
parentdf661be1a3623d0a655758095fb08cb953448336 (diff)
Upgrade to C++17
Diffstat (limited to 'source/server')
-rw-r--r--source/server/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/server/CMakeLists.txt b/source/server/CMakeLists.txt
index d6a22e6..98c1179 100644
--- a/source/server/CMakeLists.txt
+++ b/source/server/CMakeLists.txt
@@ -22,4 +22,5 @@ SET (star_server_SOURCES
ADD_EXECUTABLE (starbound_server
$<TARGET_OBJECTS:star_extern> $<TARGET_OBJECTS:star_core> $<TARGET_OBJECTS:star_base> $<TARGET_OBJECTS:star_game>
${star_server_HEADERS} ${star_server_SOURCES})
-TARGET_LINK_LIBRARIES (starbound_server ${STAR_EXT_LIBS})
+TARGET_PRECOMPILE_HEADERS (starbound_server REUSE_FROM star_core)
+TARGET_LINK_LIBRARIES (starbound_server ${STAR_EXT_LIBS}) \ No newline at end of file