File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,14 @@ endif()
77
77
78
78
message (STATUS "C++ Compiler ID: ${CMAKE_CXX_COMPILER_ID} " )
79
79
message (STATUS "C++ Flags: ${CMAKE_CXX_FLAGS} link flags: ${CMAKE_CXX_LINK_FLAGS} " )
80
- if (Boost_FOUND )
81
- if (MSVC )
82
- add_definitions (-D_SCL_SECURE_NO_WARNINGS )
83
- endif (MSVC )
84
- if (WIN32 )
85
- add_definitions (-D_WIN32_WINNT=0x0501 )
86
- endif (WIN32 )
87
- include_directories (${Boost_INCLUDE_DIRS} )
88
- endif (Boost_FOUND )
80
+
81
+ if (MSVC )
82
+ add_definitions (-D_SCL_SECURE_NO_WARNINGS )
83
+ endif (MSVC )
84
+ if (WIN32 )
85
+ add_definitions (-D_WIN32_WINNT=0x0501 )
86
+ endif (WIN32 )
87
+ include_directories (${Boost_INCLUDE_DIRS} )
89
88
90
89
message (STATUS "CPP-NETLIB options selected:" )
91
90
message (STATUS " CPP-NETLIB_BUILD_SHARED_LIBS: ${CPP-NETLIB_BUILD_SHARED_LIBS}\t (Build cpp-netlib as shared libraries: OFF, ON)" )
Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ endif()
13
13
14
14
include_directories (${CPP-NETLIB_SOURCE_DIR}/mime/src )
15
15
16
- if ( Boost_FOUND )
17
- add_executable ( mime-roundtrip mime-roundtrip.cpp )
18
- target_link_libraries ( mime-roundtrip )
19
- add_test ( mime-roundtrip mime-roundtrip )
20
- endif ()
21
-
16
+ add_executable ( mime-roundtrip mime-roundtrip.cpp )
17
+ target_link_libraries ( mime-roundtrip )
18
+ add_test ( mime-roundtrip mime-roundtrip )
You can’t perform that action at this time.
0 commit comments