Skip to content

Commit

Permalink
Removed unnecessary asio dependency from the example and set the fine…
Browse files Browse the repository at this point in the history
…ftp target compile definitions private
  • Loading branch information
FlorianReimold committed Jun 16, 2020
1 parent 71bbc41 commit bda799d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ project(example)

set(CMAKE_CXX_STANDARD 14)

find_package(asio REQUIRED)
find_package(fineftp REQUIRED CONFIG)

set(sources
Expand Down
4 changes: 2 additions & 2 deletions fineftp-server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ target_link_libraries(${PROJECT_NAME}
Threads::Threads
)

target_compile_definitions(${PROJECT_NAME} PUBLIC ASIO_STANDALONE)
target_compile_definitions(${PROJECT_NAME} PUBLIC __USE_FILE_OFFSET64=1)
target_compile_definitions(${PROJECT_NAME} PRIVATE ASIO_STANDALONE)
target_compile_definitions(${PROJECT_NAME} PRIVATE __USE_FILE_OFFSET64=1)
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601)


Expand Down

0 comments on commit bda799d

Please sign in to comment.