Skip to content

Commit

Permalink
Add alias library for trlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Hansknecht committed Jun 25, 2023
1 parent 1d33912 commit 7162ba5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ target_include_directories(trlib
target_link_libraries(trlib ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES} m)
set_property(TARGET trlib PROPERTY C_STANDARD 11)

add_library("trlib::trlib" ALIAS trlib)

if(APPLE)
set_property(TARGET trlib PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
endif(APPLE)
Expand Down

0 comments on commit 7162ba5

Please sign in to comment.