initial support for OpenIndiana
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
52918b3003
commit
37953f5c49
9 changed files with 329 additions and 3 deletions
|
@ -43,6 +43,14 @@ if(CMAKE_SYSTEM_NAME STREQUAL "VxWorks")
|
|||
add_definitions(-std=c99)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_C_COMPILER_ID} STREQUAL "SunPro")
|
||||
add_definitions(-m64)
|
||||
add_definitions(-xc99)
|
||||
add_definitions(-D__restrict=restrict)
|
||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -m64")
|
||||
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -m64")
|
||||
endif()
|
||||
|
||||
include(FileIDs)
|
||||
include(GNUInstallDirs)
|
||||
include(AnalyzeBuild)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue