Ignore:
Timestamp:
11/08/06 20:53:41 (17 years ago)
Author:
zorg
Message:

Fix cmake compilation on win32 (both for msvc & mingw/cygwin). It's still advised to use custom msvc projects with msvc compilers though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/trunk/CMakeLists.txt

    r97 r105  
    22project(mppenc C)
    33set(CMAKE_VERBOSE_MAKEFILE false)
    4 set(CMAKE_C_FLAGS "-fno-strict-aliasing -Os -fomit-frame-pointer -pipe")
     4
     5if(NOT MSVC)
     6set(CMAKE_C_FLAGS "-fno-strict-aliasing -Os -fomit-frame-pointer -pipe")
     7endif(NOT MSVC)
     8
    59add_subdirectory(src)
Note: See TracChangeset for help on using the changeset viewer.