~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to Tests/ComplexRelativePaths/Executable/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS")
6
6
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS")
7
 
SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
8
7
 
9
8
IF(COMPLEX_TEST_CMAKELIB)
10
9
  # Link to CMake lib
12
11
  LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source/kwsys)
13
12
  LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmexpat)
14
13
  LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmzlib)
15
 
  LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmcurl)
 
14
  # prefer the new curl if it is around
 
15
  IF(EXISTS ${Complex_BINARY_DIR}/../../Utilities/cmcurl-7.19.0)
 
16
    LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmcurl-7.19.0/lib)
 
17
  ENDIF(EXISTS ${Complex_BINARY_DIR}/../../Utilities/cmcurl-7.19.0)
 
18
  IF(EXISTS ${Complex_BINARY_DIR}/../../Utilities/cmcurl)
 
19
    LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmcurl)
 
20
  ENDIF(EXISTS ${Complex_BINARY_DIR}/../../Utilities/cmcurl)
16
21
  LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Utilities/cmtar)
17
22
ENDIF(COMPLEX_TEST_CMAKELIB)
18
23