We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had to add "boost system" to get it to compile. Here is the diff:
[kevin@tardis console_bridge]$ git diff diff --git a/CMakeLists.txt b/CMakeLists.txt index 453683d..09b7f61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ if (NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) endif() -find_package(Boost COMPONENTS thread REQUIRED) +find_package(Boost COMPONENTS system thread REQUIRED) if(MSVC OR MSVC90 OR MSVC10) set(MSVC ON) @@ -20,7 +20,7 @@ include_directories(${Boost_INCLUDE_DIR}) link_directories(${Boost_LIBRARY_DIRS}) add_library(${PROJECT_NAME} SHARED src/console.cpp) -target_link_libraries(${PROJECT_NAME} ${Boost_THREAD_LIBRARY}) +target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES}) install(TARGETS ${PROJECT_NAME} DESTINATION lib/)
The text was updated successfully, but these errors were encountered:
a1a382b
No branches or pull requests
I had to add "boost system" to get it to compile. Here is the diff:
The text was updated successfully, but these errors were encountered: