git-svn-id: svn://db.shs.com.ru/pip@140 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -136,6 +136,9 @@ endif ()
|
||||
|
||||
|
||||
# Add library
|
||||
if (${APPLE})
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE)
|
||||
endif (${APPLE})
|
||||
if (${WIN32})
|
||||
list(APPEND LIBS ws2_32 Iphlpapi Psapi)
|
||||
#execute_process(COMMAND "make_rc_win.bat" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_QUIET)
|
||||
@@ -153,7 +156,7 @@ if (${WIN32})
|
||||
#set(${CMAKE_CXX_FLAGS} "-O2")
|
||||
endif ()
|
||||
else ()
|
||||
set(${CMAKE_CXX_FLAGS} "-O2")
|
||||
set(${CMAKE_CXX_FLAGS} "${CMAKE_CXX_FLAGS} -O2")
|
||||
if (DEFINED ENV{QNX_HOST})
|
||||
list(APPEND LIBS socket dl)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftemplate-depth-32")
|
||||
|
||||
Reference in New Issue
Block a user