mirror of https://github.com/WerWolv/ImHex.git
Fixed linker warnings on plugins
This commit is contained in:
parent
29f50bb70b
commit
fa352b6917
|
@ -29,7 +29,7 @@ set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_SHARED_LIBRARY_PREFIX "plugin")
|
set(CMAKE_SHARED_LIBRARY_PREFIX "plugin")
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc -Wl,--allow-multiple-definition -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc -Wl,--allow-multiple-definition")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT TARGET libimhex)
|
if (NOT TARGET libimhex)
|
||||||
|
|
|
@ -21,7 +21,7 @@ set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_SHARED_LIBRARY_PREFIX "plugin")
|
set(CMAKE_SHARED_LIBRARY_PREFIX "plugin")
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc -Wl,--allow-multiple-definition -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++ -static-libgcc -Wl,--allow-multiple-definition")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT TARGET libimhex)
|
if (NOT TARGET libimhex)
|
||||||
|
|
Loading…
Reference in New Issue