Changeset 84 in pacpusframework for trunk


Ignore:
Timestamp:
Jan 13, 2013, 11:45:03 PM (12 years ago)
Author:
DHERBOMEZ Gérald
Message:

ajout message d'erreur dans le script cmake Findlog4cxx.cmake
ticket à résoudre : https://devel.hds.utc.fr/projects/pacpus/ticket/50

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/Findlog4cxx.cmake

    r64 r84  
    1313
    1414include(FindPackageHandleStandardArgs)
     15
     16IF(IS_BUILDING_PACPUS)
     17        MESSAGE(FATAL_ERROR "Find log4cxx should use the folder inside pacpusframework to set include and library directories and not the environment variable LOG4CXX_ROOT")
     18ENDIF(IS_BUILDING_PACPUS)
    1519
    1620# See if LOG4CXX_ROOT is not already set in CMake
     
    103107    # Link dirs
    104108    get_filename_component(LOG4CXX_LIBRARY_DIRS ${LOG4CXX_LIBRARY} PATH)
     109else()
     110        message(FATAL_ERROR "LOG4CXX library not found")
    105111endif()
    106112
Note: See TracChangeset for help on using the changeset viewer.