Skip to content

Commit

Permalink
fix: pass CMAKE_OSX_ARCHITECTURES to libjpeg-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Sep 6, 2024
1 parent 707c368 commit e42c558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ endif()
ExternalProject_Add(libjpeg-turbo
URL ${libjpeg-turbo_url}
URL_MD5 ${libjpeg-turbo_md5}
CMAKE_ARGS -DENABLE_SHARED=${ENABLE_SHARED} -DENABLE_STATIC=${ENABLE_STATIC} -DCMAKE_POSITION_INDEPENDENT_CODE=ON
CMAKE_ARGS -DENABLE_SHARED=${ENABLE_SHARED} -DENABLE_STATIC=${ENABLE_STATIC} -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(libjpeg-turbo SOURCE_DIR)
Expand Down

0 comments on commit e42c558

Please sign in to comment.