Commit 49e064cd authored by Mathieu Faverge's avatar Mathieu Faverge

Restore INSTALL_NAME_DIR property for MacOS

parent 947d57f4
......@@ -109,8 +109,8 @@ set(COREBLAS_SRCS
add_library(coreblas ${COREBLAS_SRCS})
list(INSERT CHAMELEON_DEP 0 -lcoreblas)
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")
set_property(TARGET coreblas PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET coreblas PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
target_link_libraries(coreblas
${LAPACKE_LIBRARIES}
......
......@@ -93,6 +93,7 @@ endif (CHAMELEON_USE_CUBLAS_V2)
add_library(cudablas ${CUDABLAS_SRCS})
add_dependencies(cudablas cudablas_include)
set_property(TARGET cudablas PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET cudablas PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
target_link_libraries(cudablas
coreblas
......
......@@ -125,8 +125,8 @@ set(RUNTIME_SRCS
# Add library
# -----------
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")
set_property(TARGET chameleon_starpu PROPERTY LINKER_LANGUAGE Fortran)
set_property(TARGET chameleon_starpu PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
target_link_libraries(chameleon_starpu
${STARPU_LIBRARIES_DEP})
......
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