Commit 502e156e authored by Guillaume Sylvand's avatar Guillaume Sylvand

CMakeLists.txt for OSX compilation : add INSTALL_NAME_DIR property in all libraries

parent 4d8df045
......@@ -255,6 +255,7 @@ add_dependencies(chameleon
set_property(TARGET chameleon PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET chameleon PROPERTY Fortran_MODULE_DIRECTORY "${CMAKE_BINARY_DIR}/include")
set_property(TARGET chameleon PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
# installation
# ------------
......
......@@ -101,6 +101,7 @@ set(COREBLAS_SRCS
add_library(coreblas ${COREBLAS_SRCS})
add_dependencies(coreblas coreblas_include)
set_property(TARGET coreblas PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET coreblas PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
# # Dependencies step
# # -----------------
......
......@@ -164,6 +164,7 @@ set(RUNTIME_SRCS
# -----------
add_library(chameleon_parsec ${RUNTIME_SRCS})
set_property(TARGET chameleon_parsec PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET chameleon_parsec PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
add_dependencies(chameleon_parsec
chameleon_include
......
......@@ -161,6 +161,7 @@ set(RUNTIME_SRCS
# -----------
add_library(chameleon_quark ${RUNTIME_SRCS})
set_property(TARGET chameleon_quark PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET chameleon_quark PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
add_dependencies(chameleon_quark
chameleon_include
......
......@@ -182,6 +182,7 @@ set(RUNTIME_SRCS
# -----------
add_library(chameleon_starpu ${RUNTIME_SRCS})
set_property(TARGET chameleon_starpu PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET chameleon_starpu PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
add_dependencies(chameleon_starpu
chameleon_include
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment