Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix cmake: if OSX search for argp
  • Loading branch information
smlng committed Jun 20, 2016
commit e732abc9d134d73d52732fad8052de46cc07339f
15 changes: 10 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=gnu99")

include_directories(.)
find_package(Argp)
if(ARGP_FOUND)
message(STATUS "argp found.")
if(APPLE)
find_package(Argp)
if(ARGP_FOUND)
message(STATUS "argp found.")
else()
message(FATAL_ERROR "argp not found!")
endif(ARGP_FOUND)
else()
message(FATAL_ERROR "argp not found!")
endif(ARGP_FOUND)
set(ARGP_INCLUDE_DIRS "")
set(ARGP_LIBRARIES "")
endif(APPLE)

if(NOT RTRLIB_INCLUDE AND NOT RTRLIB_LIBRARY)
find_package(Rtr)
Expand Down
2 changes: 1 addition & 1 deletion bird-rtrlib-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with BIRD-RTRlib-CLI; see the file COPYING.
*
* written by Mehmet Ceyran, in cooperation with:
* written by smlng and Mehmet Ceyran, in cooperation with:
* CST group, Freie Universitaet Berlin
* Website: https://github.com/rtrlib/bird-rtrlib-cli
*/
Expand Down
2 changes: 1 addition & 1 deletion bird.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with BIRD-RTRlib-CLI; see the file COPYING.
*
* written by Mehmet Ceyran, in cooperation with:
* written by smlng and Mehmet Ceyran, in cooperation with:
* CST group, Freie Universitaet Berlin
* Website: https://github.com/rtrlib/bird-rtrlib-cli
*/
Expand Down