cmake: set os2 dll name to 'physfs'
not libphysfs, because of os2 limitation.
This commit is contained in:
parent
3bc65f1613
commit
d024ca24de
|
@ -179,6 +179,9 @@ if(PHYSFS_BUILD_SHARED)
|
||||||
if(WINRT)
|
if(WINRT)
|
||||||
set_target_properties(physfs PROPERTIES VS_WINRT_COMPONENT True)
|
set_target_properties(physfs PROPERTIES VS_WINRT_COMPONENT True)
|
||||||
endif()
|
endif()
|
||||||
|
if(OS2) # OS/2 does not support a DLL name longer than 8 characters.
|
||||||
|
set_target_properties(physfs PROPERTIES OUTPUT_NAME "physfs")
|
||||||
|
endif()
|
||||||
target_link_libraries(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
|
target_link_libraries(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
|
||||||
set(PHYSFS_LIB_TARGET physfs)
|
set(PHYSFS_LIB_TARGET physfs)
|
||||||
set(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
|
set(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
|
||||||
|
|
Loading…
Reference in New Issue