mirror of
https://github.com/eddyem/CCD_Capture.git
synced 2026-03-20 08:40:56 +03:00
add Toupcam support; fix some bugs
This commit is contained in:
@@ -8,6 +8,9 @@ pkg_check_modules(${CCDLIB} REQUIRED mvs>=2.1 usefull_macros)
|
||||
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC)
|
||||
add_library(${CCDLIB} SHARED ${SRC})
|
||||
|
||||
# set c99 as mvs library have "typedef" for "bool"
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
|
||||
|
||||
target_include_directories(${CCDLIB} PRIVATE ${${CCDLIB}_INCLUDE_DIRS} ..)
|
||||
target_link_directories(${CCDLIB} PRIVATE ${${CCDLIB}_LIBRARY_DIRS})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user