mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
CMake: Fix issue where module source file filters were too broad
This commit is contained in:
parent
ad38182530
commit
b94d4170f0
1 changed files with 2 additions and 2 deletions
|
|
@ -302,11 +302,11 @@ function(_juce_module_sources module_path output_path built_sources other_source
|
|||
set(base_path "${module_glob}/${module_glob}")
|
||||
|
||||
set(module_cpp ${all_module_files})
|
||||
list(FILTER module_cpp INCLUDE REGEX "${base_path}[^/]*\\.cpp$")
|
||||
list(FILTER module_cpp INCLUDE REGEX "^${base_path}[^/]*\\.cpp$")
|
||||
|
||||
if(APPLE)
|
||||
set(module_mm ${all_module_files})
|
||||
list(FILTER module_mm INCLUDE REGEX "${base_path}[^/]*\\.(mm|r)$")
|
||||
list(FILTER module_mm INCLUDE REGEX "^${base_path}[^/]*\\.(mm|r)$")
|
||||
|
||||
if(module_mm)
|
||||
set(module_mm_replaced ${module_mm})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue