Fix FreeBSD build

pull/40/head
Vitaliy Filippov 2015-05-31 22:35:15 +03:00
parent 82705f39b0
commit 06eb1a7df2
1 changed files with 4 additions and 3 deletions

View File

@ -5,10 +5,11 @@ find_package(Boost COMPONENTS program_options REQUIRED)
include_directories(
${grive_SOURCE_DIR}/../libgrive/src
${OPT_INCS}
${Boost_INCLUDE_DIRS}
)
file (GLOB GRIVE_EXE_SRC
${grive_SOURCE_DIR}/src/*.cc
${grive_SOURCE_DIR}/src/*.cc
)
add_executable( grive_executable
@ -17,11 +18,11 @@ add_executable( grive_executable
target_link_libraries( grive_executable
${Boost_LIBRARIES}
grive
grive
)
set_target_properties( grive_executable
PROPERTIES OUTPUT_NAME grive
PROPERTIES OUTPUT_NAME grive
)
install(TARGETS grive_executable RUNTIME DESTINATION bin)