mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 20:04:29 +02:00
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.
8 lines
No EOL
310 B
CMake
8 lines
No EOL
310 B
CMake
# add the test directories
|
|
file(GLOB TEST_SUBDIRS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*")
|
|
list(REMOVE_ITEM TEST_SUBDIRS "CMakeFiles")
|
|
foreach(DIR ${TEST_SUBDIRS})
|
|
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${DIR}")
|
|
add_subdirectory(${DIR})
|
|
endif()
|
|
endforeach() |