mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +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)
|
||||
|
||||
# Find catkin
|
||||
find_package(catkin REQUIRED)
|
||||
#find_package(catkin REQUIRED)
|
||||
|
||||
if(APPLE)
|
||||
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)
|
||||
|
||||
## Tests
|
||||
if(CATKIN_ENABLE_TESTING)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
#if(CATKIN_ENABLE_TESTING)
|
||||
# add_subdirectory(tests)
|
||||
#endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user