mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 11:44:53 +08:00
change cmake file for build
This commit is contained in:
parent
69e0372cf0
commit
c32dc7e09d
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
|
|||||||
project(serial)
|
project(serial)
|
||||||
|
|
||||||
# Find catkin
|
# Find catkin
|
||||||
find_package(catkin REQUIRED)
|
#find_package(catkin REQUIRED)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
find_library(IOKIT_LIBRARY IOKit)
|
find_library(IOKIT_LIBRARY IOKit)
|
||||||
@ -76,6 +76,6 @@ install(FILES include/serial/serial.h include/serial/v8stdint.h
|
|||||||
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}/serial)
|
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}/serial)
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
if(CATKIN_ENABLE_TESTING)
|
#if(CATKIN_ENABLE_TESTING)
|
||||||
add_subdirectory(tests)
|
# add_subdirectory(tests)
|
||||||
endif()
|
#endif()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user