misc/libphysfs/CMakeLists.txt
branchsdl2transition
changeset 11376 5375b9168fc2
parent 9236 ddd675825672
equal deleted inserted replaced
11375:7d0511a3cff8 11376:5375b9168fc2
   146 endif(UNIX)
   146 endif(UNIX)
   147 
   147 
   148 if(WINDOWS)
   148 if(WINDOWS)
   149     set(PHYSFS_HAVE_CDROM_SUPPORT TRUE)
   149     set(PHYSFS_HAVE_CDROM_SUPPORT TRUE)
   150     set(PHYSFS_HAVE_THREAD_SUPPORT TRUE)
   150     set(PHYSFS_HAVE_THREAD_SUPPORT TRUE)
   151     list(APPEND OTHER_LDFLAGS ${SDL_LIBRARY})
   151     list(APPEND OTHER_LDFLAGS ${SDL2_LIBRARY})
   152 endif(WINDOWS)
   152 endif(WINDOWS)
   153 
   153 
   154 if(NOT PHYSFS_HAVE_CDROM_SUPPORT)
   154 if(NOT PHYSFS_HAVE_CDROM_SUPPORT)
   155     add_definitions(-DPHYSFS_NO_CDROM_SUPPORT=1)
   155     add_definitions(-DPHYSFS_NO_CDROM_SUPPORT=1)
   156     message(WARNING " ***")
   156     message(WARNING " ***")