mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 05:09:23 +02:00
the command:
cmake . -GXcode creates a CMakeFiles direcory in the test directory, causing the creation of the xcode files to fail with an the source directory does not contain a CMakeList.txt file. This patch updates the CMakeList.txt file in the test directory to ignore that created dir.
This commit is contained in:
parent
d9733be3e1
commit
95cab15864
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
# add the test directories
|
# add the test directories
|
||||||
file(GLOB TEST_SUBDIRS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*")
|
file(GLOB TEST_SUBDIRS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*")
|
||||||
|
list(REMOVE_ITEM TEST_SUBDIRS "CMakeFiles")
|
||||||
foreach(DIR ${TEST_SUBDIRS})
|
foreach(DIR ${TEST_SUBDIRS})
|
||||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${DIR}")
|
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${DIR}")
|
||||||
add_subdirectory(${DIR})
|
add_subdirectory(${DIR})
|
||||||
|
|
Loading…
Reference in a new issue