Skip to content
Snippets Groups Projects
Commit bb3832c4 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Changing CMakeList.txt.

parent 90afb784
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ ADD_SUBDIRECTORY( solver )
ADD_LIBRARY( tnl${debugExt}-${tnlVersion} SHARED dummy.cpp )
SET_TARGET_PROPERTIES( tnl${debugExt}-${tnlVersion} PROPERTIES SOVERSION 0
VERSION ${tnlVersion} )
TARGET_LINK_LIBRARIES( tnl${debugExt}-${tnlVersion} tnlconfig${debugExt}-${tnlVersion}
tnlcore${debugExt}-${tnlVersion}
tnldebug${debugExt}-${tnlVersion}
......@@ -21,6 +23,8 @@ INSTALL( TARGETS tnl${debugExt}-${tnlVersion} DESTINATION lib )
IF( BUILD_MPI )
ADD_LIBRARY( tnl-mpi${debugExt}-${tnlVersion} SHARED dummy.cpp )
SET_TARGET_PROPERTIES( tnl-mpi${debugExt}-${tnlVersion} PROPERTIES SOVERSION 0
VERSION ${tnlVersion} )
TARGET_LINK_LIBRARIES( tnl-mpi${debugExt}-${tnlVersion} ${MPI_LIBRARIES}
tnlconfig-mpi${debugExt}-${tnlVersion}
tnlcore-mpi${debugExt}-${tnlVersion}
......@@ -29,7 +33,8 @@ IF( BUILD_MPI )
tnlmatrix-mpi${debugExt}-${tnlVersion}
tnlmesh-mpi${debugExt}-${tnlVersion}
tnlsolver-mpi${debugExt}-${tnlVersion} )
INSTALL( TARGETS tnl-mpi${debugExt}-${tnlVersion} DESTINATION lib )
INSTALL( TARGETS tnl-mpi${debugExt}-${tnlVersion} LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib )
ENDIF()
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