Changeset 100


Ignore:
Timestamp:
11/06/06 21:39:02 (18 years ago)
Author:
zorg
Message:

Fix compilation on OpenBSD

Location:
mppenc/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mppenc/trunk/INSTALL

    r97 r100  
    11Known prerequisites:
    22- cmake >= 2.2
     3- ossaudio libraries (OpenBSD only)
    34
    45Steps:
  • mppenc/trunk/src/CMakeLists.txt

    r97 r100  
    22add_executable(mppenc analy_filter encode_sv7 huffsv7 profile stderr winmsg ans fastmath keyboard psy tags bitstream fft4g mppenc psy_tab tools cvd fft_routines pipeopen quant wave_in)
    33target_link_libraries(mppenc m)
     4if(CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
     5target_link_libraries(mppenc ossaudio)
     6endif(CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
    47install(TARGETS mppenc RUNTIME DESTINATION bin)
Note: See TracChangeset for help on using the changeset viewer.