Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pawian
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PWA
Pawian
Commits
f0e18d2f
Commit
f0e18d2f
authored
15 years ago
by
Matthias Steinke
Browse files
Options
Downloads
Patches
Plain Diff
added CMakeModules/Findlog4cpp.cmake
parent
bff8d15e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeModules/Findlog4cpp.cmake
+37
-0
37 additions, 0 deletions
CMakeModules/Findlog4cpp.cmake
with
37 additions
and
0 deletions
CMakeModules/Findlog4cpp.cmake
0 → 100644
+
37
−
0
View file @
f0e18d2f
# If log4cpp_ROOT was defined in the environment, use it.
if
(
NOT log4cpp_ROOT AND NOT $ENV{log4cpp_ROOT} STREQUAL
""
)
set
(
log4cpp_ROOT $ENV{log4cpp_ROOT}
)
endif
()
if
(
log4cpp_ROOT
)
set
(
_log4cpp_INCLUDE_SEARCH_DIRS
${
log4cpp_INCLUDEDIR
}
${
log4cpp_ROOT
}
/include
${
log4cpp_ROOT
}
/inc
${
log4cpp_ROOT
}
)
set
(
_log4cpp_LIBRARIES_SEARCH_DIRS
${
log4cpp_LIBRARYDIR
}
${
log4cpp_ROOT
}
/lib
${
log4cpp_ROOT
}
/src/.libs
${
log4cpp_ROOT
}
)
endif
()
find_path
(
log4cpp_INCLUDE_DIRS log4cpp/Category.hh
HINTS
${
_log4cpp_INCLUDE_SEARCH_DIRS
}
)
set
(
log4cpp_LIBR log4cpp
)
find_library
(
log4cpp_LIBRARY log4cpp
HINTS
${
_log4cpp_LIBRARIES_SEARCH_DIRS
}
)
set
(
log4cpp_LIBRARIES
${
log4cpp_LIBRARY
}
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
log4cpp DEFAULT_MSG
log4cpp_INCLUDE_DIRS log4cpp_LIBRARY
)
get_filename_component
(
log4cpp_LIBRARY_DIRS
${
log4cpp_LIBRARY
}
PATH
)
mark_as_advanced
(
log4cpp_INCLUDE_DIRS
log4cpp_LIBRARY_DIRS
log4cpp_LIBRARIES
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment