Remove unnecessary GLOB
This commit is contained in:
parent
99473fbb9a
commit
d45831f5ea
|
@ -353,13 +353,13 @@ macro(configure_files srcDir destDir)
|
||||||
endif ()
|
endif ()
|
||||||
endforeach (sourceFile)
|
endforeach (sourceFile)
|
||||||
|
|
||||||
file (GLOB_RECURSE templateFiles RELATIVE ${srcDir} ${srcDir}/*.in)
|
|
||||||
foreach (templateFile ${templateFiles})
|
foreach (templateFile ${templateFiles})
|
||||||
set (sourceTemplateFilePath ${srcDir}/${templateFile})
|
set (sourceTemplateFilePath ${srcDir}/${templateFile})
|
||||||
string (REGEX REPLACE "\.in$" "" templateFile ${templateFile})
|
string (REGEX REPLACE "\.in$" "" templateFile ${templateFile})
|
||||||
message (STATUS "Configuring file ${templateFile}")
|
message (STATUS "Configuring file ${templateFile}")
|
||||||
configure_file (${sourceTemplateFilePath} ${destDir}/${templateFile} @ONLY)
|
configure_file (${sourceTemplateFilePath} ${destDir}/${templateFile} @ONLY)
|
||||||
endforeach (templateFile)
|
endforeach (templateFile)
|
||||||
|
|
||||||
endmacro (configure_files)
|
endmacro (configure_files)
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
|
|
Loading…
Reference in New Issue