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

summaryrefslogtreecommitdiff
path: root/source/core
diff options
context:
space:
mode:
authorJamesTheMaker <79481373+JamesTheMaker@users.noreply.github.com>2024-03-08 15:18:23 -0500
committerGitHub <noreply@github.com>2024-03-08 15:18:23 -0500
commitd26a7dbd18a608e72733e67784a10a6062bf7b6b (patch)
tree730682193ebf78dd007e94a93d52fea2539fc903 /source/core
parent25512984744315ce71faa32ce89514705be64865 (diff)
parent35dc974a8f87057c998f44687586a16147dba654 (diff)
Merge branch 'OpenStarbound:main' into Songbook
Diffstat (limited to 'source/core')
-rw-r--r--source/core/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/core/CMakeLists.txt b/source/core/CMakeLists.txt
index ce35500..687b9c5 100644
--- a/source/core/CMakeLists.txt
+++ b/source/core/CMakeLists.txt
@@ -214,7 +214,10 @@ ELSEIF (STAR_SYSTEM_FAMILY_WINDOWS)
ENDIF ()
ADD_LIBRARY (star_core OBJECT ${star_core_SOURCES} ${star_core_HEADERS})
-TARGET_PRECOMPILE_HEADERS (star_core PUBLIC StarPch.hpp)
+
+IF(STAR_PRECOMPILED_HEADERS)
+ TARGET_PRECOMPILE_HEADERS (star_core PUBLIC StarPch.hpp)
+ENDIF()
IF(STAR_USE_JEMALLOC AND JEMALLOC_IS_PREFIXED)
SET_SOURCE_FILES_PROPERTIES(StarMemory.cpp PROPERTIES