mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
CMake: Fix Windows library names for case-sensitive filesystems
Closes #865
This commit is contained in:
parent
c73415b4ba
commit
0df97a2c6b
@ -61,7 +61,7 @@ target_link_libraries(p3device p3dgraph)
|
||||
target_interrogate(p3device ALL)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(p3device Cfgmgr32.lib)
|
||||
target_link_libraries(p3device cfgmgr32.lib)
|
||||
|
||||
elseif(APPLE)
|
||||
find_library(IOKIT_LIBRARY IOKit)
|
||||
|
@ -37,7 +37,7 @@ target_link_libraries(p3net p3nativenet p3pipeline p3pandabase pandaexpress)
|
||||
target_interrogate(p3net ALL)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(p3net Iphlpapi.lib)
|
||||
target_link_libraries(p3net iphlpapi.lib)
|
||||
endif()
|
||||
|
||||
if(NOT BUILD_METALIBS)
|
||||
|
@ -18,7 +18,7 @@ set(P3WINDISPLAY_SOURCES
|
||||
composite_sources(p3windisplay P3WINDISPLAY_SOURCES)
|
||||
add_component_library(p3windisplay SYMBOL BUILDING_PANDAWIN
|
||||
${P3WINDISPLAY_HEADERS} ${P3WINDISPLAY_SOURCES})
|
||||
target_link_libraries(p3windisplay panda User32.lib Imm32.lib)
|
||||
target_link_libraries(p3windisplay panda user32.lib imm32.lib)
|
||||
|
||||
if(HAVE_DX9)
|
||||
target_compile_definitions(p3windisplay PRIVATE HAVE_DX9)
|
||||
|
Loading…
x
Reference in New Issue
Block a user