Mentions légales du service

Skip to content
Snippets Groups Projects
Commit cacab3a2 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

FindMorseCommon.cmake: fix suffix detection when there is version number in...

FindMorseCommon.cmake: fix suffix detection when there is version number in the lib name like starpu-1.3.dylib
parent 37bce4cb
Branches
No related tags found
No related merge requests found
......@@ -99,6 +99,9 @@ macro(morse_check_static_or_dynamic package libraries)
if (_suffix MATCHES "\\.so$" OR _suffix MATCHES "\\.so\\.")
set(_suffix ".so")
endif()
if (_suffix MATCHES "\\.dylib$" OR _suffix MATCHES "\\.dylib\\.")
set(_suffix ".dylib")
endif()
set(${package}_STATIC 0)
if (WIN32)
if(${_suffix} MATCHES "\\.lib$")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment