From d58bd05e76ae10c40b17a0852c13c5b71f4d62a9 Mon Sep 17 00:00:00 2001 From: Scooter <62129754+vaparetia@users.noreply.github.com> Date: Thu, 8 Feb 2024 21:23:19 -0600 Subject: [PATCH] Update CMakeLists.txt Added 32bit compile options for building 32bit binaries by default on Linux --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7aec9fa..f4becb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,4 +9,6 @@ set(SOURCE_FILES add_executable(extract-xiso ${SOURCE_FILES}) target_compile_definitions(extract-xiso PRIVATE ${TARGET_OS}) +target_compile_options(extract-xiso PUBLIC -m32) +target_link_options(extract-xiso PUBLIC -m32) install(TARGETS extract-xiso RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")