Skip to content

Commit

Permalink
Merge pull request #650 from orgads/cmake-usr-local
Browse files Browse the repository at this point in the history
CMake: Remove explicit /usr/local references
  • Loading branch information
lemenkov authored Jan 11, 2024
2 parents 5f3e593 + 1d6bcaf commit 6fd5ffd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
# from the source.
include_directories(
${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}/include
"/usr/local/include")
${PROJECT_SOURCE_DIR}/include)

option(BUILD_STATIC "Build a statically-linked binary" OFF)
option(USE_SSL "Build with SIPS support" OFF)
Expand Down Expand Up @@ -121,7 +120,6 @@ if(USE_SCTP)
endif(USE_SCTP)

# add the executable
link_directories("/usr/local/lib")
add_executable(sipp ${all_SRCS} "${PROJECT_SOURCE_DIR}/src/sipp.cpp")
target_compile_features(sipp PUBLIC cxx_auto_type cxx_range_for)

Expand Down

0 comments on commit 6fd5ffd

Please sign in to comment.