Unverified Commit bd7d4242 authored by Jappie Klooster's avatar Jappie Klooster
Browse files

Remove cxxopts from link library

cxxopts is a header only library:
https://github.com/jarro2783/cxxopts#linking
Therefore there shouldn't be any need to link.
The inclusion of the header provides all source code.
parent b1d041f5
......@@ -66,7 +66,7 @@ include_directories(${IODash_SOURCE_DIR}/cpp_modules/portable-endian) # FIXME
include_directories(${cxxopts_SOURCE_DIR}/include)
add_executable(ydotoold ${SOURCE_FILES_DAEMON})
target_link_libraries(ydotoold PUBLIC cxxopts uInputPlus evdevPlus)
target_link_libraries(ydotoold PUBLIC uInputPlus evdevPlus)
install(TARGETS ydotoold DESTINATION ${CMAKE_INSTALL_BINDIR})
add_library(ydotool_library STATIC ${SOURCE_FILES_LIBRARY})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment