ComparatorLib:core: Add menu option to conditionally enable
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
option(ENABLE_COMPARATORLIB_core
|
||||
"Enable comparator lib core (libcoreComp.so)" ON)
|
||||
|
||||
if(ENABLE_COMPARATORLIB_core)
|
||||
add_library(coreComp SHARED
|
||||
coreComp.cpp
|
||||
)
|
||||
@@ -19,3 +23,4 @@ target_link_libraries(coreComp PUBLIC
|
||||
install(TARGETS coreComp
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} NAMELINK_SKIP
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user