Skip to content
Commit a5139484 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

mtp: Configure fails if smb is not being compiled

mtp/CMakeLists.txt uses cmake_{push,pop}_check_state() which need
CMakePushCheckState to be included.  This is done in smb/CMakeLists.txt,
but if libsmb is not available then this include will not have any
effect and the MTP configuration fails.

Since the include is needed in multiple places, move it to the
top level.
parent 72adb16d
Pipeline #434227 passed with stage
in 3 minutes and 47 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment