mirror of https://github.com/FreeRDP/FreeRDP
third-party: fix gitignore
This commit is contained in:
parent
fe9cd89e97
commit
4ab065bb88
|
@ -1,2 +1,4 @@
|
|||
**/**
|
||||
*
|
||||
**/*
|
||||
!CMakeLists.txt
|
||||
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
file(GLOB all_valid_subdirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/CMakeLists.txt")
|
||||
|
||||
foreach(dir ${all_valid_subdirs})
|
||||
message(STATUS "path = ${dir}")
|
||||
if(${dir} MATCHES "^([^/]*)//CMakeLists.txt")
|
||||
string(REGEX REPLACE "^([^/]*)//CMakeLists.txt" "\\1" dir_trimmed ${dir})
|
||||
message(STATUS "Adding third-party component ${dir_trimmed}")
|
||||
add_subdirectory(${dir_trimmed})
|
||||
endif()
|
||||
endforeach(dir)
|
||||
|
|
Loading…
Reference in New Issue