Skip to content

Commit

Permalink
Allow physfs.pc generation on mingw-w64 and osx homebrew/etc,
Browse files Browse the repository at this point in the history
Rename physfs-static to physfs on mingw-w64
  • Loading branch information
Marty Plummer committed Jul 17, 2017
1 parent 21b2fd3 commit db700fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -155,7 +155,7 @@ if(PHYSFS_BUILD_STATIC)
# library named "physfs.lib" which would conflict; Unix tend to like the
# same library name with a different extension for static libs, but
# Windows can just have a separate name.
if(NOT WINDOWS)
if(NOT MSVC)
set_target_properties(physfs-static PROPERTIES OUTPUT_NAME "physfs")
endif()
if(WINRT)
Expand Down Expand Up @@ -258,7 +258,7 @@ if(UNIX)
)
endif()

if(UNIX AND NOT APPLE)
if(NOT MSVC)
configure_file(
"extras/physfs.pc.in"
"extras/physfs.pc"
Expand Down

0 comments on commit db700fd

Please sign in to comment.