Skip to content

Commit

Permalink
CMake: Remove explicit /usr/local references
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Aug 23, 2023
1 parent 1126a8b commit 1d6bcaf
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++11")
# 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 1d6bcaf

Please sign in to comment.