commit d6e3623ab6bfc9b0c261f98a8a89277531c9e63d
parent 1fbe7c6552486f9bef9e7b286540c95592fe2936
Author: fundamental <[email protected]>
Date: Thu, 22 Jun 2023 08:46:37 -0400
CMake: Avoid overwriting CMAKE_MODULE_PATH var
Fix(?) the windows build as required find modules like
FindFFTW3F.cmake were not available to cmake.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Sndio)
find_package(FLTK)
find_package(OpenGL) #for FLTK
find_package(ECM)
-set(CMAKE_MODULE_PATH ${ECM_FIND_MODULE_DIR})
+list(APPEND CMAKE_MODULE_PATH ${ECM_FIND_MODULE_DIR})
find_package(LibGit2)
# lash
if(PKG_CONFIG_FOUND AND NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))