BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1
Alex
This commit is contained in:
parent
7866710465
commit
f9cb0f3cb4
|
@ -57,3 +57,5 @@ ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
|
|||
# SET(CMAKE_${type}_LINK_STATIC_C_FLAGS "-bstatic")
|
||||
# SET(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-bdynamic")
|
||||
#ENDFOREACH(type)
|
||||
|
||||
INCLUDE(Platform/UnixPaths)
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
INCLUDE(Platform/UnixPaths)
|
||||
|
||||
|
|
|
@ -10,3 +10,5 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
|
|||
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
|
||||
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
|
||||
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
|
||||
|
||||
INCLUDE(Platform/UnixPaths)
|
||||
|
|
|
@ -5,5 +5,6 @@ ELSE(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")
|
|||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-Bexport")
|
||||
ENDIF(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")
|
||||
|
||||
INCLUDE(Platform/UnixPaths)
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
SET(QNXNTO 1)
|
||||
|
||||
# GCC is the default compiler on QNX 6.3.
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
|
||||
INCLUDE(Platform/gcc)
|
||||
|
||||
# The QNX GCC does not seem to have -isystem so remove the flag.
|
||||
SET(CMAKE_INCLUDE_SYSTEM_FLAG_C)
|
||||
|
@ -29,3 +29,5 @@ ENDFOREACH(type)
|
|||
# force the language to be c++ since qnx only has gcc and not g++ and c++?
|
||||
SET(CMAKE_CXX_COMPILE_OBJECT
|
||||
"<CMAKE_CXX_COMPILER> -x c++ <FLAGS> -o <OBJECT> -c <SOURCE>")
|
||||
|
||||
INCLUDE(Platform/UnixPaths)
|
||||
|
|
|
@ -2,3 +2,5 @@ SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-G 0")
|
|||
SET(CMAKE_SHARED_LIBRARY_SUFFIX "..o")
|
||||
SET(CMAKE_DL_LIBS "")
|
||||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-D,08000000")
|
||||
|
||||
INCLUDE(Platform/UnixPaths)
|
||||
|
|
Loading…
Reference in New Issue