Skip to content

Commit

Permalink
CMakeLists.txt adding detectorlib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalan committed May 23, 2022
1 parent d0a17fe commit e3f76f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
set(LibraryVersion "1.6")
add_definitions(-DLIBRARY_VERSION="${LibraryVersion}")

COMPILELIB("")
set( deps detector )

if (NOT ${RESTLIB_DETECTOR} MATCHES "ON")
list(REMOVE_ITEM deps detector)
endif ()

COMPILELIB(deps)

file(GLOB_RECURSE MAC "${CMAKE_CURRENT_SOURCE_DIR}/macros/*")
INSTALL(FILES ${MAC} DESTINATION ./macros/raw)
Expand Down

0 comments on commit e3f76f1

Please sign in to comment.