Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update CMakeLists.txt
Revert UNIX back to APPLE - won't compile on modern Ubuntu release otherwise as argp is included in libc6.
  • Loading branch information
remcovanmook authored Jun 21, 2018
commit e36b21c39d87d32b1717e169e2fb56c212fdae6a
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=gnu99")

include_directories(.)
if(UNIX)
if(APPLE)
find_package(Argp)
if(ARGP_FOUND)
message(STATUS "argp found.")
Expand All @@ -15,7 +15,7 @@ if(UNIX)
else()
set(ARGP_INCLUDE_DIRS "")
set(ARGP_LIBRARIES "")
endif(UNIX)
endif(APPLE)

if(NOT RTRLIB_INCLUDE AND NOT RTRLIB_LIBRARY)
find_package(Rtr)
Expand Down