We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f05a0 commit 90f448dCopy full SHA for 90f448d
cmake/FindFMILIB.cmake
@@ -52,9 +52,12 @@ endif ()
52
# Find shared/import library and append its path prefix to the HINTS option.
53
if (UNIX)
54
set (CMAKE_FIND_LIBRARY_SUFFIXES ".so")
55
+ set (_FMILIB_shlibs "fmilib_shared" "fmilib2" "fmilib")
56
+else ()
57
+ set (_FMILIB_shlibs "fmilib_shared")
58
endif ()
59
find_library (FMILIB_SHARED_LIBRARY
- NAMES "fmilib2" "fmilib"
60
+ NAMES ${_FMILIB_shlibs}
61
${_FMILIB_hints}
62
PATHS ${FMILIB_DIR} $ENV{FMILIB_DIR}
63
PATH_SUFFIXES "lib")
0 commit comments