Skip to content
Snippets Groups Projects
Commit 4179c0fd authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Use PKG_CONFIG_USE_DEPENDENCY new macro to import dependency flags properly.

parent 70a0e580
No related branches found
No related tags found
No related merge requests found
Subproject commit 1e8ceff5396490032f0fbbc78afaa00bc48baa0f
Subproject commit 432b255fc48d26a36bbd8c9d329d4e45c438613c
......@@ -13,9 +13,6 @@
# received a copy of the GNU Lesser General Public License along with
# jrl-walkgen. If not, see <http://www.gnu.org/licenses/>.
# Import jrl-mal flags.
INCLUDE_DIRECTORIES(${JRL_MAL_INCLUDEDIR})
# Make sure to find Debug.h
INCLUDE_DIRECTORIES(BEFORE ${PROJECT_SOURCE_DIR}/src)
......@@ -69,6 +66,7 @@ SET(SOURCES
)
ADD_LIBRARY(jrl-walkgen SHARED ${SOURCES})
TARGET_LINK_LIBRARIES(jrl-walkgen ${LAPACK_LIBRARIES})
SET_TARGET_PROPERTIES(jrl-walkgen PROPERTIES SOVERSION ${PROJECT_VERSION})
INSTALL(TARGETS jrl-walkgen DESTINATION lib)
PKG_CONFIG_USE_DEPENDENCY(jrl-walkgen jrl-mal)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment