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:
Roland Kaufmann
2012-11-30 12:59:08 +01:00
parent 42df5fdbd3
commit 5f84bf718b
2 changed files with 2 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ set (_opm_proj_vars
LIBRARIES
DEFINITIONS
INCLUDE_DIRS
LIBRARY_DIRS
CONFIG_VARS
)