Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
DBraun committed Apr 21, 2024
1 parent f14e8a6 commit 32482bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WarpBuf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17)
set_target_properties(${PROJECT_NAME} PROPERTIES POSITION_INDEPENDENT_CODE ON)
add_compile_options(-fPIC)

set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)

if(APPLE)
set_target_properties(${PROJECT_NAME} PROPERTIES
LINK_FLAGS "-Wl,-U,_object_new_imp -Wl,-U,_object_method_imp"
Expand Down

0 comments on commit 32482bc

Please sign in to comment.