Clion don't see library in release configuration

Completed

but everything compiles fine

Just that annoying red lines

0
7 comments

Hello!

Do you have anything like

if(CMAKE_BUILD_TYPE STREQUAL "Debug")

or similar in your CMakeLists.txt?

0
Avatar
Permanently deleted user
I have only that:

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
0

Do your profiles (in File | Settings | Build, Execution, Deployment | CMake) differ in anything other than build type?

0
Avatar
Permanently deleted user

0

Please make sure the editor with the problematic file is focused, do Help | Find Action and select Show Compiler Info action there. Then show the result. Please do it for the Debug profile and for the Release profile.

0
Avatar
Permanently deleted user

I don't know how but everything is work now.

Maybe that was just temporary bug 

0

Thanks for letting us know.

0

Please sign in to leave a comment.