Show
Ignore:
Timestamp:
07/04/08 03:44:48 (5 months ago)
Author:
erijo
Message:

Fixed compilation on mac osx

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newapi/licq/src/CMakeLists.txt

    r5950 r6414  
    7171  get_directory_property(${dir} DIRECTORY ${dir} DEFINITION ${dir}_SRCS) 
    7272  foreach (file ${${dir}}) 
    73     get_filename_component(basename ${file} NAME_WE) 
     73    get_filename_component(basename ${file} NAME) 
    7474    list(APPEND objs ${objdir}/${basename}${CMAKE_C_OUTPUT_EXTENSION}) 
    7575  endforeach (file) 
     
    9595 
    9696# External libraries 
    97 target_link_libraries(licq boost_filesystem-mt) 
    98 target_link_libraries(licq boost_program_options-mt) 
     97target_link_libraries(licq ${Boost_FILESYSTEM_LIBRARY}) 
     98target_link_libraries(licq ${Boost_PROGRAM_OPTIONS_LIBRARY}) 
     99target_link_libraries(licq ${Boost_SYSTEM_LIBRARY}) 
     100if (APPLE) 
     101  target_link_libraries(licq intl) 
     102endif (APPLE) 
    99103target_link_libraries(licq ${DLOPEN_LIBRARIES}) 
    100104target_link_libraries(licq ${OPENSSL_LIBRARIES})