Guest User

Untitled

a guest
Nov 5th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. diff --git a/src/leveldb/CMakeLists.txt b/src/leveldb/CMakeLists.txt
  2. index 950d44b..44d2a93 100644
  3. --- a/src/leveldb/CMakeLists.txt
  4. +++ b/src/leveldb/CMakeLists.txt
  5. @@ -9,16 +9,6 @@ set(LIB_RELEASE 1)
  6. set(CMAKE_INSTALL_SO_NO_EXE "0")
  7.  
  8. include(CheckIncludeFile)
  9. -SET (Boost_ADDITIONAL_VERSIONS "1.36" "1.36.0" "1.41" "1.41.0" "1.39" "1.39.0" "1.42.0" "1.42" "1.43.0"
  10. -"1.43." "1.44.0" "1.44.0" "1.45.0" "1.45" "1.46.0" "1.46" "1.47.0" "1.47")
  11. -find_package(Boost COMPONENTS filesystem system thread date_time REQUIRED)
  12. -if(Boost_FOUND)
  13. - message(STATUS "Package Boost-${Boost_VERSION} found : ${Boost_INCLUDE_DIR}")
  14. -else(Boost_FOUND)
  15. - message(FATAL_ERROR "The package Boost has not been found")
  16. -endif(Boost_FOUND)
  17. -include_directories(${Boost_INCLUDE_DIRS})
  18. -link_directories(${Boost_INCLUDE_DIRS})
  19. include_directories(${CMAKE_CURRENT_SOURCE_DIR} include)
  20.  
  21.  
  22. @@ -131,7 +121,7 @@ endif()
  23.  
  24. set(_soversion ${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE})
  25. set_target_properties(leveldb PROPERTIES SOVERSION ${LIB_MAJOR} VERSION ${_soversion})
  26. -target_link_libraries(leveldb pthread ${Boost_LIBRARIES})
  27. +target_link_libraries(leveldb pthread)
  28. SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
  29.  
  30. IF(MINGW)
Advertisement
Add Comment
Please, Sign In to add comment