Add library search directories to linker options
Some older packages, and notably those that are detected by PkgConfig, only give library names and then a list of library search directories. Add to link_directories here in order to support this configuration, even though it is deprecated in newer versions of CMake.
This commit is contained in:
@@ -29,6 +29,7 @@ set (_opm_proj_vars
|
||||
LIBRARIES
|
||||
DEFINITIONS
|
||||
INCLUDE_DIRS
|
||||
LIBRARY_DIRS
|
||||
CONFIG_VARS
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user