File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1111# Targets defined by this module:
1212# pystring::pystring - IMPORTED target, if found
1313#
14- # By default, the dynamic libraries of pystring will be found. To find the
15- # static ones instead, you must set the pystring_STATIC_LIBRARY variable to
16- # TRUE before calling find_package(pystring ...).
17- #
1814# If pystring is not installed in a standard path, you can use the
1915# pystring_ROOT variable to tell CMake where to find it. If it is not found
2016# and OCIO_INSTALL_EXT_PACKAGES is set to MISSING or ALL, pystring will be
@@ -41,16 +37,10 @@ if(NOT OCIO_INSTALL_EXT_PACKAGES STREQUAL ALL)
4137 pystring/include
4238 )
4339
44- # Attempt to find static library first if this is set
45- if (pystring_STATIC_LIBRARY)
46- set (_pystring_STATIC
47- "${CMAKE_STATIC_LIBRARY_PREFIX} pystring${CMAKE_STATIC_LIBRARY_SUFFIX} " )
48- endif ()
49-
5040 # Find library
5141 find_library (pystring_LIBRARY
5242 NAMES
53- ${_pystring_STATIC} pystring
43+ pystring libpystring
5444 HINTS
5545 ${_pystring_SEARCH_DIRS}
5646 PATH_SUFFIXES
You can’t perform that action at this time.
0 commit comments