Skip to content

Commit

Permalink
Set POSITION_INDEPENDENT_CODE ON
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongseok-meta authored and nem0 committed Mar 2, 2024
1 parent b550d2a commit 27df0a9
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 @@ -17,7 +17,9 @@ target_include_directories(OpenFBX
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/>)

target_compile_definitions(OpenFBX PRIVATE _LARGEFILE64_SOURCE)
set_target_properties(OpenFBX PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
set_target_properties(OpenFBX PROPERTIES
WINDOWS_EXPORT_ALL_SYMBOLS ON
POSITION_INDEPENDENT_CODE ON)

install(TARGETS OpenFBX EXPORT openfbxTargets
RUNTIME DESTINATION bin
Expand Down

0 comments on commit 27df0a9

Please sign in to comment.