mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Merge branch 'cmakefix' into next
This commit is contained in:
commit
c447ea073c
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
macro (add_openmw_dir dir)
|
macro (add_openmw_dir dir)
|
||||||
set (files)
|
set (files)
|
||||||
foreach (u ${ARGN})
|
foreach (u ${ARGN})
|
||||||
file (GLOB ALL ${CMAKE_CURRENT_SOURCE_DIR} "${dir}/${u}.*")
|
file (GLOB ALL ${CMAKE_CURRENT_SOURCE_DIR} "${dir}/${u}.[ch]pp")
|
||||||
foreach (f ${ALL})
|
foreach (f ${ALL})
|
||||||
list (APPEND files "${f}")
|
list (APPEND files "${f}")
|
||||||
list (APPEND OPENMW_FILES "${f}")
|
list (APPEND OPENMW_FILES "${f}")
|
||||||
|
@ -14,7 +14,7 @@ endmacro (add_openmw_dir)
|
||||||
macro (add_component_dir dir)
|
macro (add_component_dir dir)
|
||||||
set (files)
|
set (files)
|
||||||
foreach (u ${ARGN})
|
foreach (u ${ARGN})
|
||||||
file (GLOB ALL ${CMAKE_CURRENT_SOURCE_DIR} "${dir}/${u}.*")
|
file (GLOB ALL ${CMAKE_CURRENT_SOURCE_DIR} "${dir}/${u}.[ch]pp")
|
||||||
foreach (f ${ALL})
|
foreach (f ${ALL})
|
||||||
list (APPEND files "${f}")
|
list (APPEND files "${f}")
|
||||||
list (APPEND COMPONENT_FILES "${f}")
|
list (APPEND COMPONENT_FILES "${f}")
|
||||||
|
|
Loading…
Reference in a new issue