mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-31 13:40:35 +00:00
fix build and install
This commit is contained in:
parent
32d4fabf5c
commit
99bb97c5c4
2 changed files with 6 additions and 5 deletions
|
@ -192,9 +192,10 @@ before_install:
|
|||
- eval "${MATRIX_EVAL}"
|
||||
|
||||
before_script:
|
||||
- mkdir $HOME/fluidsynth_install/
|
||||
- mkdir build && cd build
|
||||
|
||||
script:
|
||||
- cmake ${CMAKE_FLAGS} "-Denable-portaudio=1" "-Denable-ladspa=1" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ..
|
||||
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/fluidsynth_install ${CMAKE_FLAGS} "-Denable-portaudio=1" "-Denable-ladspa=1" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ..
|
||||
- make -j4
|
||||
- make install
|
||||
- if [ $TRAVIS_OS_NAME = linux ]; then make install; fi # install only on linux, as CMAKE_INSTALL_PREFIX is ignored for frameworks on macosx and I cant tell whether that's correct or a bug
|
||||
|
|
|
@ -204,8 +204,8 @@ set ( public_main_HEADER
|
|||
${CMAKE_BINARY_DIR}/include/fluidsynth.h
|
||||
)
|
||||
|
||||
configure_file ( ${CMAKE_SOURCE_DIR}/include/version.h.in
|
||||
${CMAKE_BINARY_DIR}/include/version.h )
|
||||
configure_file ( ${CMAKE_SOURCE_DIR}/include/fluidsynth/version.h.in
|
||||
${CMAKE_BINARY_DIR}/include/fluidsynth/version.h )
|
||||
configure_file ( ${CMAKE_SOURCE_DIR}/include/fluidsynth.cmake
|
||||
${public_main_HEADER} )
|
||||
|
||||
|
@ -365,6 +365,6 @@ else ( MACOSX_FRAMEWORK )
|
|||
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
|
||||
PUBLIC_HEADER DESTINATION ${INCLUDE_INSTALL_DIR}/fluidsynth
|
||||
)
|
||||
install ( FILES fluidsynth.h DESTINATION ${INCLUDE_INSTALL_DIR} )
|
||||
install ( FILES ${public_main_HEADER} DESTINATION ${INCLUDE_INSTALL_DIR} )
|
||||
endif ( MACOSX_FRAMEWORK )
|
||||
|
||||
|
|
Loading…
Reference in a new issue