Skip to content

Commit

Permalink
modify CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lijiageng committed Sep 25, 2020
1 parent e31feab commit e93ba8c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Expand Up @@ -23,7 +23,6 @@ endif()
# -------------------
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_INSTALL_PREFIX "/usr/local/")
set(${CMAKE_SYSTEM_NAME} True)

# Tuntap library declaration and portable source files
Expand Down Expand Up @@ -84,7 +83,6 @@ endif(Windows)
# ------------------
if(UNIX)
if(Linux)
set(CMAKE_INSTALL_PREFIX "/usr/")
target_compile_definitions(tuntap PUBLIC -D_GNU_SOURCE)
target_sources(tuntap PRIVATE tuntap-unix-linux.c)
elseif (OpenBSD)
Expand Down

0 comments on commit e93ba8c

Please sign in to comment.