Commit d0154671 authored by Jan Möbius's avatar Jan Möbius

Missing libs control for CoMISo

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12901 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 60ad305d
......@@ -87,8 +87,23 @@ file (
"${CMAKE_SOURCE_DIR}/libs/*/CMakeLists.txt"
)
# add all found libs to the build
set( REMAINING_LOCAL_LIBS "" )
# Special Comiso case:
# The library has to be configured first
foreach (_localLib ${_local_libs_in})
if ( "${_localLib}" MATCHES .*CoMISo.* )
get_filename_component (_local_lib_dir ${_localLib} PATH)
add_subdirectory (${CMAKE_SOURCE_DIR}/${_local_lib_dir})
else()
LIST(APPEND REMAINING_LOCAL_LIBS ${_localLib})
endif()
endforeach ()
# add all found libs to the build
foreach (_localLib ${REMAINING_LOCAL_LIBS})
get_filename_component (_local_lib_dir ${_localLib} PATH)
add_subdirectory (${CMAKE_SOURCE_DIR}/${_local_lib_dir})
endforeach ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment