Changeset 55 in pacpusframework for trunk


Ignore:
Timestamp:
Jan 9, 2013, 9:48:16 AM (12 years ago)
Author:
Marek Kurdej
Message:

Renamed: LOG4CXX_LIBRARY to LOG4CXXD_LIBRARY_DEBUG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/Findlog4cxx.cmake

    r54 r55  
    7777# Find debug library, if on UNIX this is the same as release
    7878if(WIN32)
    79     find_library(LOG4CXXD_LIBRARY NAMES log4cxx_d HINTS ${LOG4CXX_LIB_LIST})
     79    find_library(LOG4CXX_LIBRARY_DEBUG NAMES log4cxx_d HINTS ${LOG4CXX_LIB_LIST})
    8080else()
    81     set(LOG4CXXD_LIBRARY ${LOG4CXX_LIBRARY})
     81    set(LOG4CXX_LIBRARY_DEBUG ${LOG4CXX_LIBRARY})
    8282endif()
    8383
     
    9797
    9898    # Debug Libraries
    99     if(LOG4CXXD_LIBRARY)
    100         LIST(APPEND LOG4CXX_LIBRARIES debug ${LOG4CXXD_LIBRARY})
     99    if(LOG4CXX_LIBRARY_DEBUG)
     100        LIST(APPEND LOG4CXX_LIBRARIES debug ${LOG4CXX_LIBRARY_DEBUG})
    101101    endif()
    102102
     
    106106
    107107# Advanced options for not cluttering the cmake UIs
    108 mark_as_advanced(LOG4CXX_INCLUDE_DIR LOG4CXX_LIBRARY LOG4CXXD_LIBRARY)
     108mark_as_advanced(LOG4CXX_INCLUDE_DIR LOG4CXX_LIBRARY LOG4CXX_LIBRARY_DEBUG)
Note: See TracChangeset for help on using the changeset viewer.