How to configure CLion to load boost libraries on Windows 10

Answered

Hi,

I try the following code in the CMakeList.txt

find_package(Boost)

if (${Boost_FOUND})
message(FATAL_ERROR "Could not find boost!")
endif()

And I get the message that Boost is not found

In Cygwin I already installed boost 1.60.0
Cmake version is 3.6.2 and CLion version is 2016.3.1

0
2 comments
Avatar
Permanently deleted user

Hello, 

 

Iam trying to install Boost on CLion. i included the following in my cmakelists. I am struggling to get it up and running. Boost is still not found. 

set(BOOST_ROOT C:/Users/Udbhav/Desktop/boost_1_73_0)

find_package(Boost 1.73.0)

if(NOT Boost_FOUND)
message(FATAL_ERROR "Could not find boost!")
endif()
0

Please sign in to leave a comment.