<div dir="ltr">Hi,<div><br></div><div>I have a simple CMakeList.txt file:</div><div><br></div><div><div>cmake_minimum_required (VERSION 3.0)</div><div>project (winotify)</div><div><br></div><div>set(Boost_USE_STATIC_LIBS ON)</div><div>set(Boost_USE_MULTITHREADED ON)</div><div>find_package(Boost REQUIRED COMPONENTS regex program_options)</div><div><br></div><div>add_executable(winotify winotify.cpp)</div><div><br></div><div>message(STATUS "xxx ${Boost_program_options_LIBRARY_DEBUG}")</div><div>message(STATUS "xxx ${Boost_INCLUDE_DIR}")</div><div>message(STATUS "xxx ${Boost_LIBRARY_DIR}")</div><div><br></div><div>target_link_libraries(winotify</div><div> ${Boost_PROGRAMOPTIONS_LIBRARY_DEBUG})</div></div><div><br></div><div><br></div><div>I set up BOOST_ROOT on my Windows system. When I execute cmake, I got:</div><div><br></div><div>...</div><div><div>-- Boost version: 1.59.0</div><div>-- Found the following Boost libraries:</div><div>--   regex</div><div>--   program_options</div><div>-- xxx</div><div>-- xxx C:/Boost/include/boost-1_59</div><div>-- xxx</div><div>-- Configuring done</div></div><div>...</div><div><br></div><div>So the "<span style="line-height:1.5">Boost_INCLUDE_DIR" variable is set, but the other are not...what did I miss?</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Thanks,</span></div><div><span style="line-height:1.5">David</span></div><div><span style="line-height:1.5"><br></span></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Thanks,<br>
David S.</p>
</div></div>