From: James Turner Date: Mon, 3 Jan 2011 09:50:05 +0000 (+0000) Subject: Olaf Flebbe: Removed Boost serialization linkage on MSVC X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6d3773cb408d85d9040d74bae3564a9f039169c5;p=flightgear.git Olaf Flebbe: Removed Boost serialization linkage on MSVC --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fd7341f2..ab419fdfb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,17 +86,7 @@ endif (MSVC_3RDPARTY_DIR) # check required dependencies -if (MSVC) - # on MSVC, Olaf reports that the serialization library is required at - # link time. No one has you explained why, unfortunately. - set(Boost_USE_STATIC_LIBS ON) - set(Boost_USE_MULTITHREADED ON) - set(Boost_USE_STATIC_RUNTIME OFF) - find_package(Boost REQUIRED COMPONENTS serialization) -else (MSVC) - find_package(Boost REQUIRED) -endif (MSVC) - +find_package(Boost REQUIRED) find_package(ZLIB REQUIRED) find_package(Threads REQUIRED) find_package(OpenGL REQUIRED) diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index 6eb4513c0..ffc87c857 100644 --- a/src/Main/CMakeLists.txt +++ b/src/Main/CMakeLists.txt @@ -39,7 +39,6 @@ target_link_libraries(fgfs ${ALUT_LIBRARY} ${ZLIB_LIBRARIES} ${PLIB_LIBRARIES} - ${RT_LIBRARY} - ${Boost_SERIALIZATION_LIBRARY}) + ${RT_LIBRARY}) install(TARGETS fgfs RUNTIME DESTINATION bin)