1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 03:34:53 +08:00

change cmake file for build

This commit is contained in:
Tomoo 2022-07-29 20:24:01 +09:00
parent 69e0372cf0
commit c32dc7e09d

View File

@ -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()