Hi,
I have a simple CMakeList.txt file:
cmake_minimum_required (VERSION 3.0)
project (winotify)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
find_package(Boost REQUIRED COMPONENTS regex program_options)
add_executable(winotify winotify.cpp)
message(STATUS "xxx ${Boost_program_options_LIBRARY_DEBUG}")
message(STATUS "xxx ${Boost_INCLUDE_DIR}")
message(STATUS "xxx ${Boost_LIBRARY_DIR}")
target_link_libraries(winotify
${Boost_PROGRAMOPTIONS_LIBRARY_DEBUG})
I set up BOOST_ROOT on my Windows system. When I execute cmake, I got:
...
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- regex
-- program_options
-- xxx
-- xxx C:/Boost/include/boost-1_59
-- xxx
-- Configuring done
...
So the "Boost_INCLUDE_DIR" variable is set, but the other are not...what
did I miss?
Thanks,
David
--
Thanks,
David S.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake