Trying to do a bit of sleuthing on this.
I note that when I run cmake I get the message along the lines (I didn't get a copy) "optional not found falling back to Boost"
If I look at file 'FindOptional.cmake', I see...
IF (OPTONAL_INCLUDE_DIR)
# Already in cache, be silent
SET(OPTOINAL_FIND_QUIETLY TRUE)
ENDIF()
Trying to do a bit of sleuthing on this.
I note that when I run cmake I get the message along the lines (I didn't get a copy) "optional not found falling back to Boost"
If I look at file 'FindOptional. cmake', I see...
IF (OPTONAL_ INCLUDE_ DIR) FIND_QUIETLY TRUE)
# Already in cache, be silent
SET(OPTOINAL_
ENDIF()
FIND_PATH( OPTIONAL_ INCLUDE_ DIR optional.hpp local/include BASE_DIR} /Optional- master
/usr/
/usr/include
${SOURCE_
)
include( FindPackageHand leStandardArgs) handle_ standard_ args(Optional DEFAULT_MSG
OPTIONAL_ INCLUDE_ DIR)
find_package_
MARK_AS_ADVANCED( INCLUDE_ DIR
OPTIONAL_
)
Looks like a few tripewirting errors in this, but maybe of no consequence anyway.
Cheers,
Terry