Remove warnings on AIX
This commit is contained in:
parent
579945c2e7
commit
f2b4750169
|
@ -1,6 +1,13 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 1.5)
|
||||
PROJECT(CTEST CXX)
|
||||
|
||||
#silence duplicate symbol warnings on AIX
|
||||
IF(CMAKE_SYSTEM MATCHES "AIX.*")
|
||||
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -bhalt:5 ")
|
||||
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
ENDIF(CMAKE_SYSTEM MATCHES "AIX.*")
|
||||
|
||||
SUBDIRS(Curl)
|
||||
|
||||
FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS
|
||||
|
|
Loading…
Reference in New Issue