Skip to content

Commit

Permalink
set_target_properties(optframe_lib PROPERTIES POSITION_INDEPENDENT_CO…
Browse files Browse the repository at this point in the history
…DE ON)
  • Loading branch information
igormcoelho committed Dec 7, 2023
1 parent 6e2a30c commit 218fc7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ target_link_libraries(optframe_lib PRIVATE OptFrameAll)
set_target_properties(optframe_lib PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/optframe
LIBRARY_OUTPUT_NAME optframe_lib
WINDOWS_EXPORT_ALL_SYMBOLS ON
)
set_target_properties(optframe_lib PROPERTIES POSITION_INDEPENDENT_CODE ON)
# https://stackoverflow.com/questions/58059048/ambiguous-byte-definition-in-rpcndr-and-cstddef#58060367
Expand Down

0 comments on commit 218fc7e

Please sign in to comment.