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
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if(POLICY CMP0091)
endif()
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
set ( PACKAGE "fluidsynth" )