Skip to content

Commit

Permalink
Add winsock back :(
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed May 1, 2018
1 parent 537bf9c commit 95ebf34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/win32_compiler_options.cmake
Expand Up @@ -49,6 +49,11 @@ function(pdal_target_compile_settings target)
endif()
endfunction()

#
# Windows htonl and similar are in winsock :(
#
set(WINSOCK_LIBRARY ws2_32)

set(CMAKE_INCLUDE_PATH "c:/OSGeo4W64/include;$ENV{CMAKE_INCLUDE_PATH}")
set(CMAKE_LIBRARY_PATH "c:/OSGeo4W64/lib;$ENV{CMAKE_LIBRARY_PATH}")
set(CMAKE_PREFIX_PATH "c:/OSGeo4W64/cmake;$ENV{CMAKE_LIBRARY_PATH}")

0 comments on commit 95ebf34

Please sign in to comment.