Skip to content

Commit 036a0dd

Browse files
committed
removed switch for linux
1 parent eaf3412 commit 036a0dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,13 @@ link_directories(${Boost_LIBRARY_DIRS}/$(Platform)/lib)
3636

3737
SET(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/lib/$(Platform))
3838
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin/$(Platform))
39-
endif()
40-
41-
if(__LINUX__)
39+
#linux
40+
else()
4241
add_definitions(-D__LINUX__)
4342
add_definitions(-std=c++11)
4443
add_definitions(-DBOOST_LOG_DYN_LINK)
4544
link_directories(${Boost_LIBRARY_DIRS})
4645
if (NOT DEFINED CSI_BOOST_LIBS)
47-
#set(CSI_BOOST_LIBS ${Boost_LIBRARY_DIRS}/libboost_log_setup.a ${Boost_LIBRARY_DIRS}/libboost_log.a boost_date_time boost_timer boost_thread boost_system boost_program_options boost_filesystem boost_regex boost_chrono boost_iostreams pthread rt c)
4846
set(CSI_BOOST_LIBS boost_log_setup boost_log boost_date_time boost_timer boost_thread boost_system boost_program_options boost_filesystem boost_regex boost_chrono boost_iostreams pthread rt c)
4947
endif()
5048
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/lib)

0 commit comments

Comments
 (0)