X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=05a7d032bb4f2f18fbb5a32285c6d2ffcecae57c;hb=4ca736fe4f9942f48e11a7470a053d316d198807;hp=d4bedc887449fd087b6154e6262ccd3f4d758947;hpb=4428c0454c0ab107f1fe303c4669d6eded255141;p=novacoin.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d4bedc8..05a7d03 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -98,7 +98,7 @@ list(APPEND ALL_LIBRARIES ${Boost_LIBRARIES} ixwebsocket OpenSSL::Crypto) # Windows-specific libraries if (WIN32) - list(APPEND ALL_LIBRARIES ws2_32 mswsock) + list(APPEND ALL_LIBRARIES kernel32 user32 gdi32 comdlg32 winspool winmm shell32 comctl32 ole32 oleaut32 uuid rpcrt4 advapi32 ws2_32 mswsock shlwapi) endif() # Some systems need rt library @@ -156,10 +156,10 @@ execute_process ( COMMAND sh -c "${CMAKE_CURRENT_SOURCE_DIR}/../share/genbuild.sh ${CMAKE_CURRENT_SOURCE_DIR}/build.h" OUTPUT_VARIABLE outVar ) -list(APPEND ALL_DEFINITIONS HAVE_BUILD_INFO) +list(APPEND ALL_DEFINITIONS HAVE_BUILD_INFO USE_IPV6) add_executable(novacoind ${ALL_SOURCES}) -target_include_directories(novacoind PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/json ${BerkeleyDB_INC} ${CMAKE_CURRENT_SOURCE_DIR}/additional/leveldb/helpers ${Boost_INCLUDE_DIRS}) +target_include_directories(novacoind PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/json ${BerkeleyDB_INC} ${CMAKE_CURRENT_SOURCE_DIR}/additional/sse2neon ${CMAKE_CURRENT_SOURCE_DIR}/additional/leveldb/helpers ${Boost_INCLUDE_DIRS}) target_link_libraries(novacoind ${ALL_LIBRARIES}) target_compile_features(novacoind PUBLIC cxx_std_17)