Browse Source

Cleanup

Signed-off-by: falkTX <falktx@falktx.com>
pull/1780/head
falkTX 1 year ago
parent
commit
7b111e7e35
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      cmake/CMakeLists.txt

+ 3
- 6
cmake/CMakeLists.txt View File

@@ -122,14 +122,11 @@ function(set_common_target_properties TARGET)
)
endif()

set_target_properties(${TARGET}
PROPERTIES
POSITION_INDEPENDENT_CODE ON
)
set_property(TARGET ${TARGET} PROPERTY POSITION_INDEPENDENT_CODE ON)

if(APPLE)
set_property(${TARGET} PROPERTY APPEND OSX_ARCHITECTURES arm64)
set_property(${TARGET} PROPERTY APPEND OSX_ARCHITECTURES x86_64)
set_property(TARGET ${TARGET} PROPERTY APPEND OSX_ARCHITECTURES arm64)
set_property(TARGET ${TARGET} PROPERTY APPEND OSX_ARCHITECTURES x86_64)
endif()
endfunction()



Loading…
Cancel
Save