CMake: Library link changes for Windows.
This commit is contained in:
parent
f9099cf832
commit
64c55cf92c
|
|
@ -30,5 +30,9 @@ if(HAVE_NET AND WANT_NATIVE_NET)
|
|||
target_link_libraries(p3net p3express p3downloader p3pandabase p3nativenet p3pipeline)
|
||||
target_interrogate(p3net ALL)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(p3net Iphlpapi.lib)
|
||||
endif()
|
||||
|
||||
install(TARGETS p3net DESTINATION lib)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@ if(WIN32)
|
|||
composite_sources(p3windisplay P3WINDISPLAY_SOURCES)
|
||||
add_library(p3windisplay ${P3WINDISPLAY_HEADERS} ${P3WINDISPLAY_SOURCES})
|
||||
target_link_libraries(p3windisplay p3display p3putil
|
||||
Coreimm.lib)
|
||||
Imm32.lib)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue