Changeset 55 in pacpusframework
- Timestamp:
- Jan 9, 2013, 9:48:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/Findlog4cxx.cmake
r54 r55 77 77 # Find debug library, if on UNIX this is the same as release 78 78 if(WIN32) 79 find_library(LOG4CXX D_LIBRARYNAMES log4cxx_d HINTS ${LOG4CXX_LIB_LIST})79 find_library(LOG4CXX_LIBRARY_DEBUG NAMES log4cxx_d HINTS ${LOG4CXX_LIB_LIST}) 80 80 else() 81 set(LOG4CXX D_LIBRARY${LOG4CXX_LIBRARY})81 set(LOG4CXX_LIBRARY_DEBUG ${LOG4CXX_LIBRARY}) 82 82 endif() 83 83 … … 97 97 98 98 # Debug Libraries 99 if(LOG4CXX D_LIBRARY)100 LIST(APPEND LOG4CXX_LIBRARIES debug ${LOG4CXX D_LIBRARY})99 if(LOG4CXX_LIBRARY_DEBUG) 100 LIST(APPEND LOG4CXX_LIBRARIES debug ${LOG4CXX_LIBRARY_DEBUG}) 101 101 endif() 102 102 … … 106 106 107 107 # Advanced options for not cluttering the cmake UIs 108 mark_as_advanced(LOG4CXX_INCLUDE_DIR LOG4CXX_LIBRARY LOG4CXX D_LIBRARY)108 mark_as_advanced(LOG4CXX_INCLUDE_DIR LOG4CXX_LIBRARY LOG4CXX_LIBRARY_DEBUG)
Note:
See TracChangeset
for help on using the changeset viewer.