summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-06-24 14:45:24 +0200
committerLéo Lam <leo@leolam.fr>2022-06-24 14:54:21 +0200
commit5b40c220e50140045ee99270d974bb8c0ab201c0 (patch)
tree9c4a6bdf3d3669efc8c6b774d92f416853f1771b /CMakeLists.txt
parentac2df653769fc773ae2ff692cdabac66a2c7433b (diff)
Fix extra semicolons and enable -Wextra-semi warning
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 260c3fd8..fd309144 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,10 +24,11 @@ add_executable(uking)
target_include_directories(uking PRIVATE src)
target_compile_definitions(uking PRIVATE NON_MATCHING)
target_compile_options(uking PRIVATE -fno-rtti -fno-exceptions)
+target_compile_options(uking PRIVATE -fno-strict-aliasing)
target_compile_options(uking PRIVATE -Wall -Wextra -Wdeprecated)
target_compile_options(uking PRIVATE -Wno-unused-parameter -Wno-unused-private-field)
-target_compile_options(uking PRIVATE -fno-strict-aliasing)
target_compile_options(uking PRIVATE -Wno-invalid-offsetof)
+target_compile_options(uking PRIVATE -Wextra-semi)
add_subdirectory(lib/NintendoSDK)
target_link_libraries(uking PUBLIC NintendoSDK)