Fix casing of CMake modules to allow cross-compilation for Windows under Linux

The filesystem on Linux is case-sensitive so we need to get the casing
right when compiling on Linux for Windows.
This commit is contained in:
Martchus 2023-01-22 18:00:16 +01:00
parent 6dafdcbdfc
commit 79c985adbf
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ if(USE_FTGL)
SET(FTGL_INCLUDE_DIR ${FTGL_INCLUDE_DIRS})
SET(FTGL_LIBRARY ${FTGL_LIBRARIES})
else()
FIND_PACKAGE( ftgl REQUIRED )
FIND_PACKAGE(FTGL REQUIRED)
endif()
else(USE_FTGL)
add_compile_options("-DNO_USE_FTGL")
@ -113,7 +113,7 @@ if(WITH_INTERNAL_FLUIDSYNTH)
INCLUDE_DIRECTORIES(${FLUIDSYNTH_INCLUDE_DIRS})
SET(FLUIDSYNTH_LIBRARY ${FLUIDSYNTH_LIBRARIES})
else()
FIND_PACKAGE( fluidsynth REQUIRED )
FIND_PACKAGE(FluidSynth REQUIRED)
endif()
ADD_DEFINITIONS(-DWITH_INTERNAL_FLUIDSYNTH)
MESSAGE("Building with internal fluidsynth")