Changeset 5287156 in tol


Ignore:
Timestamp:
Sep 15, 2015, 9:12:37 AM (11 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
62f68e4
Parents:
b45213b
Message:

corrección de regla install para linux, las .so deben ir al directorio lib

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6846 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/CMakeLists.txt

    rb45213b r5287156  
    7171macro( add_tol_sublibrary name )
    7272  add_library( ${name} OBJECT ${ARGN} )
    73   message( STATUS "add_library( ${name} OBJECT ${ARGN} )" )
     73  #message( STATUS "add_library( ${name} OBJECT ${ARGN} )" )
    7474  if( CMAKE_BUILD_TYPE MATCHES Debug )
    7575    # -fstack-protector-all -Wstack-protector -fno-omit-frame-pointer
    … …  
    397397install( TARGETS tolcon RUNTIME DESTINATION bin )
    398398install( TARGETS tol
    399   RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION bin )
     399  RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
    400400install( DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/tol"
    401401  DESTINATION "include"
  • tol/dbdrivers/CMakeLists.txt

    rb45213b r5287156  
    44  target_include_directories( tolodbc0 PRIVATE ${ODBC_INCLUDE_DIR} )
    55  target_link_libraries( tolodbc0 ${ODBC_LIBRARIES} )
    6   install( TARGETS tolodbc0 RUNTIME DESTINATION bin LIBRARY DESTINATION bin )
     6  install( TARGETS tolodbc0 RUNTIME DESTINATION bin LIBRARY DESTINATION lib )
    77endif( )
    88
    … …  
    1212  target_include_directories( tolmysql0 PRIVATE ${MYSQL_INCLUDE_DIRECTORIES} )
    1313  target_link_libraries( tolmysql0 ${MYSQL_LIBRARY} )
    14   install( TARGETS tolmysql0 RUNTIME DESTINATION bin LIBRARY DESTINATION bin )
     14  install( TARGETS tolmysql0 RUNTIME DESTINATION bin LIBRARY DESTINATION lib )
    1515endif( )
    1616
    … …  
    2020  target_include_directories( tolpgsql0 PRIVATE ${PostgreSQL_INCLUDE_DIRS} )
    2121  target_link_libraries( tolpgsql0 ${PostgreSQL_LIBRARY} )
    22   install( TARGETS tolpgsql0 RUNTIME DESTINATION bin LIBRARY DESTINATION bin )
     22  install( TARGETS tolpgsql0 RUNTIME DESTINATION bin LIBRARY DESTINATION lib )
    2323endif( )
    2424
Note: See TracChangeset for help on using the changeset viewer.