Merge pull request #139 from robertodr/master
Add Boost on the include and link path.
This commit is contained in:
		| @@ -150,10 +150,10 @@ if(BUILD_CUSTOM_BOOST) | |||||||
|         list(APPEND Boost_LIBRARIES ${Boost_${_COMP}_LIBRARY}) |         list(APPEND Boost_LIBRARIES ${Boost_${_COMP}_LIBRARY}) | ||||||
|     endforeach() |     endforeach() | ||||||
|     set(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR}) |     set(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR}) | ||||||
|     include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) |  | ||||||
|     set(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIR}) |     set(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIR}) | ||||||
|     if(CMAKE_SYSTEM_NAME MATCHES "Linux") |     if(CMAKE_SYSTEM_NAME MATCHES "Linux") | ||||||
|         list(APPEND Boost_LIBRARIES rt) |         list(APPEND Boost_LIBRARIES rt) | ||||||
|     endif() |     endif() | ||||||
|     link_directories(${Boost_LIBRARY_DIRS}) |  | ||||||
| endif(BUILD_CUSTOM_BOOST) | endif(BUILD_CUSTOM_BOOST) | ||||||
|  | include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) | ||||||
|  | link_directories(${Boost_LIBRARY_DIRS}) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user