Skip to content

Commit b065049

Browse files
committed
[BUILD] add default path for searching libraries
- on debian systems, most libraries are in /usr/lib and /usr/include so adding this as default would allow for very simple cmake commands
1 parent 2afabee commit b065049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/setup_lib_find_paths.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if("${CMAKE_FIND_ROOT_PATH}" STREQUAL "")
4848
else()
4949
# Append a few unusual default search directories for convenience
5050
# if no FIND ROOT PATH was specified.
51-
list(APPEND CONTRIB_DIR /opt/local /usr/local)
51+
list(APPEND CONTRIB_DIR /opt/local /usr/local /usr)
5252
endif()
5353
endif()
5454

0 commit comments

Comments
 (0)