mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
specify target triple in interface too
This commit is contained in:
parent
deeaae70e6
commit
762419db22
1 changed files with 2 additions and 0 deletions
|
@ -196,6 +196,8 @@ if (WIN32)
|
|||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND
|
||||
CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")
|
||||
# target x86 on windows with clang
|
||||
target_compile_options(${PROJECT_NAME} INTERFACE --target=i686-windows-msvc)
|
||||
target_link_options(${PROJECT_NAME} INTERFACE --target=i686-windows-msvc)
|
||||
add_compile_options(--target=i686-windows-msvc)
|
||||
add_link_options(--target=i686-windows-msvc)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue