From 475f9025843cff9ac94781368280730d34aa0219 Mon Sep 17 00:00:00 2001 From: Ghabry Date: Mon, 19 Jul 2021 00:27:34 +0200 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0293363..64b33487 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" )