Skip to content
Snippets Groups Projects

Resolve "Adapt to core CMakeLists.txt refactor"

Merged Mederic Fourmy requested to merge 28-adapt-to-core-cmakelists-txt-refactor into main
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -28,7 +28,11 @@ link_directories(${csm_LIBRARY_DIRS})
message(csm_LIBRARY_DIRS: ${csm_LIBRARY_DIRS})
# keep only the files in a lib folder: by default the "." is in csm_LIBRARY_DIRS,
# which is not acceptable for target_link_directories
# list(FILTER ${csm_LIBRARY_DIRS} INCLUDE REGEX "/lib")
SET(csm_LIBRARY_DIRS_LENGTH "0")
list(LENGTH csm_LIBRARY_DIRS csm_LIBRARY_DIRS_LENGTH )
message("$csm_LIBRARY_DIRS_LENGTH")
list(FILTER csm_LIBRARY_DIRS EXCLUDE REGEX ".")
message(csm_LIBRARY_DIRS: ${csm_LIBRARY_DIRS})
#Build tests
Loading