Fix emscripten: Append CMAKE_MODULE_PATH instead of overwriting it

Emscripten adds a custom CMAKE_MODULE_PATH in the toolchain file.
Without these modules TestBigEndian fails.
This commit is contained in:
Ghabry 2021-07-19 00:27:34 +02:00
parent 4240d31e51
commit 475f902584

View file

@ -30,7 +30,7 @@ if(POLICY CMP0091)
endif() endif()
project ( FluidSynth C CXX ) project ( FluidSynth C CXX )
set ( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake_admin ) list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake_admin )
# FluidSynth package name # FluidSynth package name
set ( PACKAGE "fluidsynth" ) set ( PACKAGE "fluidsynth" )