diff options
Diffstat (limited to 'hscript/CMakeLists.txt')
-rw-r--r-- | hscript/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hscript/CMakeLists.txt b/hscript/CMakeLists.txt index 9043e2b..d0c5473 100644 --- a/hscript/CMakeLists.txt +++ b/hscript/CMakeLists.txt @@ -11,10 +11,12 @@ set(HSCRIPT_INCLUDE script.hh ) +find_package(Boost REQUIRED COMPONENTS filesystem) + add_library(hscript ${HSCRIPT_SOURCE}) target_compile_features(hscript PRIVATE cxx_nullptr) target_compile_features(hscript PUBLIC cxx_unicode_literals) -target_link_libraries(hscript ${BLKID_LIBRARIES} ${LIBUDEV_LIBRARIES} ${PARTED_LIBRARIES}) +target_link_libraries(hscript ${BLKID_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY} ${LIBUDEV_LIBRARIES} ${PARTED_LIBRARIES}) install(TARGETS hscript DESTINATION lib) install(FILES ${HSCRIPT_INCLUDE} DESTINATION include/hscript) |