diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-01-11 19:33:38 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-01-11 20:59:33 +0100 |
commit | aee178901d8bd03f9e0aeb50e3a5ed7570d9f910 (patch) | |
tree | 5421f51aebca24dd14b7b09e4b310ca2f1313983 /src/CmakeModule.cpp | |
parent | b2b12abc4073c981a7fd856bc5071da887f98e43 (diff) |
Start with config object types, for git dependencies
Diffstat (limited to 'src/CmakeModule.cpp')
-rw-r--r-- | src/CmakeModule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CmakeModule.cpp b/src/CmakeModule.cpp index 8606a42..106f2c6 100644 --- a/src/CmakeModule.cpp +++ b/src/CmakeModule.cpp @@ -181,10 +181,10 @@ namespace sibs { string buildPathUtf8 = toUtf8(buildPath); nprintf("Searching for libraries generate by cmake in build path: %s\n", buildPathUtf8.c_str()); - walkDirFiles(buildPath.c_str(), + walkDirFilesRecursive(buildPath.c_str(), [&config, &staticLinkerFlagCallbackFunc, &dynamicLinkerFlagCallbackFunc](tinydir_file *file) { - if(_tinydir_strcmp(file->extension, CONFIG_DYNAMIC_LIB_FILE_EXTENSION) == 0) + if(_tinydir_strcmp(file->extension, CONFIG_DYNAMIC_LIB_FILE_EXTENSION) == 0 || _tinydir_strcmp(file->extension, CONFIG_STATIC_LIB_FILE_EXTENSION) == 0) { string libFileUtf8 = toUtf8(file->path); nprintf("Library generated by cmake: %s\n", libFileUtf8.c_str()); |