Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Force FPIC on for fmt target
Browse files Browse the repository at this point in the history
  • Loading branch information
emesare committed Nov 14, 2023
1 parent 2c6e59b commit 5e94037
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ endif()

target_link_libraries(${PROJECT_NAME} binaryninjaapi)

target_include_directories(binja-msvc PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE ON)

target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")

set_target_properties(${PROJECT_NAME} PROPERTIES
CXX_STANDARD 17
Expand Down

0 comments on commit 5e94037

Please sign in to comment.