From 155fce02be72098f273017d40a6f3f81a694c45b Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 8 Jun 2025 17:52:44 +0100 Subject: [PATCH] Match the order of compile options in C++ libloot --- cpp/cmake/tests.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/cmake/tests.cmake b/cpp/cmake/tests.cmake index ec2bce85..f5d1ddc7 100644 --- a/cpp/cmake/tests.cmake +++ b/cpp/cmake/tests.cmake @@ -142,14 +142,14 @@ endif() if(MSVC) # Turn off permissive mode to be more standards-compliant and avoid compiler errors. - target_compile_options(libloot_tests PRIVATE "/permissive-" "/W4" "/Zc:__cplusplus") + target_compile_options(libloot_tests PRIVATE "/Zc:__cplusplus" "/permissive-" "/W4") # Set /bigobj to allow building Debug and RelWithDebInfo tests target_compile_options(libloot_internals_tests PRIVATE + "/Zc:__cplusplus" "/permissive-" "/W4" - "$<$,$>:/bigobj>" - "/Zc:__cplusplus") + "$<$,$>:/bigobj>") endif()