Code style fixes for FreeBSD support pull request.
This commit is contained in:
parent
9c0fe73102
commit
10df3ec227
3 changed files with 18 additions and 16 deletions
|
@ -122,14 +122,6 @@ elseif (APPLE)
|
|||
src/Mem_unix.cpp
|
||||
src/Platform_mac.cpp
|
||||
)
|
||||
elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
set(SOURCES_OS
|
||||
src/App_unix.cpp
|
||||
src/Cpu_unix.cpp
|
||||
src/Mem_unix.cpp
|
||||
src/Platform_unix.cpp
|
||||
)
|
||||
set(EXTRA_LIBS pthread kvm)
|
||||
else()
|
||||
set(SOURCES_OS
|
||||
src/App_unix.cpp
|
||||
|
@ -141,6 +133,10 @@ else()
|
|||
set(EXTRA_LIBS pthread)
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
set(EXTRA_LIBS ${EXTRA_LIBS} kvm)
|
||||
endif()
|
||||
|
||||
add_definitions(/D__STDC_FORMAT_MACROS)
|
||||
add_definitions(/DUNICODE)
|
||||
add_definitions(/DRAPIDJSON_SSE2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue