/usr/share/cmake/sopt/SoptConfig.cmake is in libsopt-dev 2.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | get_filename_component(Sopt_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
message(STATUS "Linking to sopt package in ${Sopt_CMAKE_DIR}")
set(Sopt_INCLUDE_DIRS "${Sopt_CMAKE_DIR}/../../../include")
if(NOT TARGET libsopt AND EXISTS "${Sopt_CMAKE_DIR}/SoptCTargets.cmake")
include("${Sopt_CMAKE_DIR}/SoptCTargets.cmake")
endif()
if(NOT TARGET sopt AND EXISTS "${Sopt_CMAKE_DIR}/SoptCPPTargets.cmake")
include("${Sopt_CMAKE_DIR}/SoptCPPTargets.cmake")
endif()
unset(Sopt_LIBRARIES)
if(TARGET sopt)
list(APPEND Sopt_LIBRARIES sopt)
set(Sopt_CPP_LIBRARY sopt)
endif()
if(TARGET libsopt)
list(APPEND Sopt_LIBRARIES libsopt)
set(Sopt_C_LIBRARY libsopt)
endif()
set(Sopt_ABOUT_EXECUTABLE sopt_about)
|