summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Stars45/CMakeLists.txt4
-rw-r--r--nGenEx/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/Stars45/CMakeLists.txt b/Stars45/CMakeLists.txt
index f860bf8..35d3b39 100644
--- a/Stars45/CMakeLists.txt
+++ b/Stars45/CMakeLists.txt
@@ -221,3 +221,7 @@ target_link_libraries(
PUBLIC Png::png
PUBLIC Opcode # FIXME: Add opcode to a namespace.
)
+target_compile_definitions(
+ Stars45
+ PRIVATE _ALLOW_KEYWORD_MACROS
+ )
diff --git a/nGenEx/CMakeLists.txt b/nGenEx/CMakeLists.txt
index a73d239..6ce5be9 100644
--- a/nGenEx/CMakeLists.txt
+++ b/nGenEx/CMakeLists.txt
@@ -97,3 +97,7 @@ target_link_libraries(
PUBLIC Png::png
PUBLIC Opcode
)
+target_compile_definitions(
+ nGenEx
+ PRIVATE _ALLOW_KEYWORD_MACROS
+ )