mirror of https://github.com/vitalif/grive2
Fix FreeBSD build
parent
82705f39b0
commit
06eb1a7df2
|
@ -5,10 +5,11 @@ find_package(Boost COMPONENTS program_options REQUIRED)
|
||||||
include_directories(
|
include_directories(
|
||||||
${grive_SOURCE_DIR}/../libgrive/src
|
${grive_SOURCE_DIR}/../libgrive/src
|
||||||
${OPT_INCS}
|
${OPT_INCS}
|
||||||
|
${Boost_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
file (GLOB GRIVE_EXE_SRC
|
file (GLOB GRIVE_EXE_SRC
|
||||||
${grive_SOURCE_DIR}/src/*.cc
|
${grive_SOURCE_DIR}/src/*.cc
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable( grive_executable
|
add_executable( grive_executable
|
||||||
|
@ -17,11 +18,11 @@ add_executable( grive_executable
|
||||||
|
|
||||||
target_link_libraries( grive_executable
|
target_link_libraries( grive_executable
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
grive
|
grive
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties( grive_executable
|
set_target_properties( grive_executable
|
||||||
PROPERTIES OUTPUT_NAME grive
|
PROPERTIES OUTPUT_NAME grive
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS grive_executable RUNTIME DESTINATION bin)
|
install(TARGETS grive_executable RUNTIME DESTINATION bin)
|
||||||
|
|
Loading…
Reference in New Issue