Skip to content

Commit

Permalink
Remove /FORCE:MULTIPLE from CMAKE_STATIC_LINKER_FLAGS
Browse files Browse the repository at this point in the history
It's not a valid flag for static linking
  • Loading branch information
Gold856 committed Jan 7, 2025
1 parent 1d5d8f8 commit bf4f6f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if(MSVC)
set(CMAKE_EXE_LINKER_FLAGS ${MSVC_LINKER_FLAGS})
set(CMAKE_MODULE_LINKER_FLAGS ${MSVC_LINKER_FLAGS})
set(CMAKE_SHARED_LINKER_FLAGS ${MSVC_LINKER_FLAGS})
set(CMAKE_STATIC_LINKER_FLAGS ${MSVC_LINKER_FLAGS})
endif()

set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand Down

0 comments on commit bf4f6f5

Please sign in to comment.